aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-1.0
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-05-31 06:23:14 +0800
committermbr <mbr@FreeBSD.org>2002-05-31 06:23:14 +0800
commit4598534b73cbae1ed3020b4569711e5d753ae25e (patch)
tree8d92df2ea472450c25637b37dc17daed31089a3f /editors/openoffice-1.0
parentb0dc7b0376c9b743d5f97251cdfb7819337606a6 (diff)
downloadfreebsd-ports-gnome-4598534b73cbae1ed3020b4569711e5d753ae25e.tar.gz
freebsd-ports-gnome-4598534b73cbae1ed3020b4569711e5d753ae25e.tar.zst
freebsd-ports-gnome-4598534b73cbae1ed3020b4569711e5d753ae25e.zip
Add missing include for strchr() if compiled with gcc3
Diffstat (limited to 'editors/openoffice-1.0')
-rw-r--r--editors/openoffice-1.0/files/patch-tools::source::string::charset.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/files/patch-tools::source::string::charset.cxx b/editors/openoffice-1.0/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..b989108fbdbb
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-tools::source::string::charset.cxx
@@ -0,0 +1,12 @@
+--- ../tools/source/string/charset.cxx.orig Fri May 31 00:17:15 2002
++++ ../tools/source/string/charset.cxx Fri May 31 00:17:17 2002
+@@ -68,6 +68,9 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <strings.h>
++#if defined(FREEBSD)
++#include <string.h>
++#endif
+ #include <locale.h>
+ #include <langinfo.h>
+ #ifndef _TOOLS_LANG_HXX