summaryrefslogtreecommitdiff
path: root/system/cvs/cvs-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/cvs/cvs-musl.patch')
-rw-r--r--system/cvs/cvs-musl.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/system/cvs/cvs-musl.patch b/system/cvs/cvs-musl.patch
new file mode 100644
index 000000000..313377dbd
--- /dev/null
+++ b/system/cvs/cvs-musl.patch
@@ -0,0 +1,27 @@
+--- cvs-1.11.23.org/lib/getline.h 2013-09-16 18:28:13.026099577 +0000
++++ cvs-1.11.23/lib/getline.h 2013-09-16 18:44:33.356064387 +0000
+@@ -12,8 +12,6 @@
+ #define GETLINE_NO_LIMIT -1
+
+ int
+- getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
+-int
+ getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
+ int limit));
+ int
+--- cvs-1.11.23.org/lib/getline.c 2013-09-16 18:28:13.021099577 +0000
++++ cvs-1.11.23/lib/getline.c 2013-09-16 18:45:14.463062911 +0000
+@@ -154,12 +154,7 @@
+ return ret;
+ }
+
+-int
+-getline (lineptr, n, stream)
+- char **lineptr;
+- size_t *n;
+- FILE *stream;
+-{
++ssize_t getline(char ** lineptr, size_t * n, FILE *stream) {
+ return getstr (lineptr, n, stream, '\n', 0, GETLINE_NO_LIMIT);
+ }
+