diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-06-26 11:34:05 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-06-26 11:35:01 +0300 |
commit | 83ffc4f50711f8ed4a73a0962ad0dcf9c5e89c7f (patch) | |
tree | 6f3e103b3c952d80aec86e33576084225c7fe8a6 /main/cvs/cvs-musl.patch | |
parent | 525c6ef6561b7edd68f02004716c2a36af03076c (diff) | |
download | aports-83ffc4f50711f8ed4a73a0962ad0dcf9c5e89c7f.tar.bz2 aports-83ffc4f50711f8ed4a73a0962ad0dcf9c5e89c7f.tar.xz |
main/cvs: downgrade to newest stable release 1.11.23
patch is from sabotage
Diffstat (limited to 'main/cvs/cvs-musl.patch')
-rw-r--r-- | main/cvs/cvs-musl.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/main/cvs/cvs-musl.patch b/main/cvs/cvs-musl.patch new file mode 100644 index 0000000000..313377dbdd --- /dev/null +++ b/main/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); + } + |