aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-01-07 12:29:13 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2013-01-07 12:29:13 +0100
commit066fa6bb386bf4b91c7d650518146d6ef8cf1896 (patch)
tree0b29d8ac68d1074f3cd4b3a867aaa3057dc46332 /main
parentfafc80c9840e88b4325b79841ed8e2784f0cba28 (diff)
downloadaports-066fa6bb386bf4b91c7d650518146d6ef8cf1896.tar.bz2
aports-066fa6bb386bf4b91c7d650518146d6ef8cf1896.tar.xz
main/gross: add missing patch
Diffstat (limited to 'main')
-rw-r--r--main/gross/fix-shadow-declaration.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/gross/fix-shadow-declaration.patch b/main/gross/fix-shadow-declaration.patch
new file mode 100644
index 0000000000..9b70a61ca1
--- /dev/null
+++ b/main/gross/fix-shadow-declaration.patch
@@ -0,0 +1,13 @@
+--- gross-1.0.2.orig/include/utils.h
++++ gross-1.0.2/include/utils.h
+@@ -39,7 +39,9 @@
+ #endif /* ! USE_GETTIMEOFDAY */
+
+ int readline(int fd, void *vptr, size_t maxlen);
++#if 0
+ int getline(int fd, char *line, size_t maxlen);
++#endif
+ ssize_t readn(int fd, void *vptr, size_t n);
+ ssize_t writen(int fd, const void *vptr, size_t n);
+ ssize_t writeline(int fd, const char *line);
+