Fredrik Fornwall
9 years ago
3 changed files with 37 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||||
|
TERMUX_PKG_HOMEPAGE=http://www.nongnu.org/cvs/ |
||||
|
TERMUX_PKG_DESCRIPTION="Concurrent Versions System" |
||||
|
TERMUX_PKG_VERSION=1.11.23 |
||||
|
TERMUX_PKG_SRCURL=http://ftp.gnu.org/non-gnu/cvs/source/stable/${TERMUX_PKG_VERSION}/cvs-${TERMUX_PKG_VERSION}.tar.bz2 |
||||
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-server" |
||||
|
TERMUX_PKG_RM_AFTER_INSTALL="bin/cvsbug share/man/man8/cvsbug.8" |
@ -0,0 +1,19 @@ |
|||||
|
diff -u -r ../cvs-1.11.23/lib/getline.c ./lib/getline.c
|
||||
|
--- ../cvs-1.11.23/lib/getline.c 2005-04-04 16:46:05.000000000 -0400
|
||||
|
+++ ./lib/getline.c 2016-03-29 17:34:23.536876927 -0400
|
||||
|
@@ -155,15 +155,6 @@
|
||||
|
} |
||||
|
|
||||
|
int |
||||
|
-getline (lineptr, n, stream)
|
||||
|
- char **lineptr;
|
||||
|
- size_t *n;
|
||||
|
- FILE *stream;
|
||||
|
-{
|
||||
|
- return getstr (lineptr, n, stream, '\n', 0, GETLINE_NO_LIMIT);
|
||||
|
-}
|
||||
|
-
|
||||
|
-int
|
||||
|
getline_safe (lineptr, n, stream, limit) |
||||
|
char **lineptr; |
||||
|
size_t *n; |
@ -0,0 +1,12 @@ |
|||||
|
diff -u -r ../cvs-1.11.23/lib/getline.h ./lib/getline.h
|
||||
|
--- ../cvs-1.11.23/lib/getline.h 2005-04-04 16:46:05.000000000 -0400
|
||||
|
+++ ./lib/getline.h 2016-03-29 17:31:15.020232824 -0400
|
||||
|
@@ -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 |
Loading…
Reference in new issue