diff options
Diffstat (limited to 'misc/openoffice2/patches/patch-gc')
-rw-r--r-- | misc/openoffice2/patches/patch-gc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/misc/openoffice2/patches/patch-gc b/misc/openoffice2/patches/patch-gc new file mode 100644 index 00000000000..45a7bb35c57 --- /dev/null +++ b/misc/openoffice2/patches/patch-gc @@ -0,0 +1,25 @@ +$NetBSD: patch-gc,v 1.1 2009/09/13 03:54:14 hira Exp $ + +Fix build with getline() in libc. +From http://bugs.gentoo.org/show_bug.cgi?id=270263 + +--- soltools/mkdepend/parse.c.orig 2006-09-22 17:57:33.000000000 +0900 ++++ soltools/mkdepend/parse.c 2009-09-12 20:56:36.000000000 +0900 +@@ -45,7 +45,7 @@ + register int type; + boolean recfailOK; + +- while ((line = getline(filep))) { ++ while ((line = ooo_getline(filep))) { + switch(type = deftype(line, filep, file_red, file, TRUE)) { + case IF: + doif: +@@ -167,7 +167,7 @@ + register char *line; + register int type; + +- while ((line = getline(filep))) { ++ while ((line = ooo_getline(filep))) { + switch(type = deftype(line, filep, file_red, file, FALSE)) { + case IF: + case IFFALSE: |