summaryrefslogtreecommitdiff
path: root/system/cvs/cvs-musl.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 19:37:34 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 19:37:34 -0500
commit51ddb5d260f0900fd522c8823cf5bf68df6f934d (patch)
treeeeeef5a610aaf1a9006e28765760888efd185baa /system/cvs/cvs-musl.patch
parent560fb0c0ef4e612ec8bc9cbb5e5b76bed0e1e5f3 (diff)
downloadpackages-51ddb5d260f0900fd522c8823cf5bf68df6f934d.tar.gz
packages-51ddb5d260f0900fd522c8823cf5bf68df6f934d.tar.bz2
packages-51ddb5d260f0900fd522c8823cf5bf68df6f934d.tar.xz
packages-51ddb5d260f0900fd522c8823cf5bf68df6f934d.zip
system/cvs: add for LSB
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);
+ }
+