summaryrefslogtreecommitdiff
path: root/devel/scmcvs/patches/patch-lib_getline.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/scmcvs/patches/patch-lib_getline.h')
-rw-r--r--devel/scmcvs/patches/patch-lib_getline.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/scmcvs/patches/patch-lib_getline.h b/devel/scmcvs/patches/patch-lib_getline.h
index 5e37b70d513..97f08ca2632 100644
--- a/devel/scmcvs/patches/patch-lib_getline.h
+++ b/devel/scmcvs/patches/patch-lib_getline.h
@@ -1,15 +1,17 @@
-$NetBSD: patch-lib_getline.h,v 1.1 2011/09/22 15:16:26 ryoon Exp $
+$NetBSD: patch-lib_getline.h,v 1.2 2011/09/27 12:43:21 ryoon Exp $
* Avoid getline conflict
--- lib/getline.h.orig 2005-04-04 20:46:05.000000000 +0000
+++ lib/getline.h
-@@ -12,7 +12,7 @@
+@@ -11,8 +11,10 @@
+
#define GETLINE_NO_LIMIT -1
++#ifndef HAVE_GETLINE
int
-- getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
-+ getline_cvs __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
+ getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
++#endif
int
getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
int limit));