summaryrefslogtreecommitdiff
path: root/misc/openoffice2/patches/patch-ga
diff options
context:
space:
mode:
Diffstat (limited to 'misc/openoffice2/patches/patch-ga')
-rw-r--r--misc/openoffice2/patches/patch-ga16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/openoffice2/patches/patch-ga b/misc/openoffice2/patches/patch-ga
new file mode 100644
index 00000000000..b78b926b9be
--- /dev/null
+++ b/misc/openoffice2/patches/patch-ga
@@ -0,0 +1,16 @@
+$NetBSD: patch-ga,v 1.1 2009/09/13 03:54:13 hira Exp $
+
+Fix build with getline() in libc.
+From http://bugs.gentoo.org/show_bug.cgi?id=270263
+
+--- soltools/mkdepend/def.h.orig 2007-07-19 00:01:07.000000000 +0900
++++ soltools/mkdepend/def.h 2009-09-12 20:56:00.000000000 +0900
+@@ -151,7 +151,7 @@
+
+ char *copy();
+ char *base_name();
+-char *getline();
++char *ooo_getline();
+ struct symtab *slookup();
+ struct symtab *isdefined();
+ struct symtab *fdefined();