diff options
author | wiz <wiz@pkgsrc.org> | 2009-08-24 08:06:41 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-08-24 08:06:41 +0000 |
commit | bd665be3e56d0a3ad752f2a217f6237a8533da26 (patch) | |
tree | a4d89bad5725abb9e1f9f366c3931f4478d50e20 /news/cg/patches | |
parent | 96e10f948577dc3c05ee9f9ce21fa3e2fb2f6279 (diff) | |
download | pkgsrc-bd665be3e56d0a3ad752f2a217f6237a8533da26.tar.gz |
Fix build for systems with POSIX getline().
Diffstat (limited to 'news/cg/patches')
-rw-r--r-- | news/cg/patches/patch-aa | 4 | ||||
-rw-r--r-- | news/cg/patches/patch-ab | 22 | ||||
-rw-r--r-- | news/cg/patches/patch-ac | 13 |
3 files changed, 37 insertions, 2 deletions
diff --git a/news/cg/patches/patch-aa b/news/cg/patches/patch-aa index be265c48ab6..f842ce79fa1 100644 --- a/news/cg/patches/patch-aa +++ b/news/cg/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.1 2005/11/03 16:53:34 tv Exp $ +$NetBSD: patch-aa,v 1.2 2009/08/24 08:06:41 wiz Exp $ ---- snprintf.c.orig 2002-05-13 12:51:22.000000000 -0400 +--- snprintf.c.orig 2002-05-13 16:51:22.000000000 +0000 +++ snprintf.c @@ -64,7 +64,7 @@ diff --git a/news/cg/patches/patch-ab b/news/cg/patches/patch-ab new file mode 100644 index 00000000000..96c95566cd0 --- /dev/null +++ b/news/cg/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1 2009/08/24 08:06:41 wiz Exp $ + +--- util.c.orig 2002-05-13 16:27:29.000000000 +0000 ++++ util.c +@@ -180,7 +180,7 @@ rename_uniq(const char *from, char **to) + + + char * +-getline(FILE *f) ++get_line(FILE *f) + { + static char *b; + static int bsize; +@@ -234,7 +234,7 @@ getline(FILE *f) + void + skip_rest(FILE *f) + { +- while (getline(f) != NULL) ++ while (get_line(f) != NULL) + ; + } + diff --git a/news/cg/patches/patch-ac b/news/cg/patches/patch-ac new file mode 100644 index 00000000000..39f522a3d7f --- /dev/null +++ b/news/cg/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2009/08/24 08:06:41 wiz Exp $ + +--- util.h.orig 2002-04-24 15:45:24.000000000 +0000 ++++ util.h +@@ -57,7 +57,7 @@ void copy_stream(stream *in, out_state * + void debug(out_state *out, char *fmt, ...); + char *expand(char *path); + FILE *fopen_uniq(char **s); +-char *getline(FILE *f); ++char *get_line(FILE *f); + void output_header(out_state *out, symbol name, struct header *h); + void prdebug(int level, char *fmt, ...); + void prdebug_init(int do_file, int do_stdout); |