aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-2.0-devel
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-03-11 07:02:24 +0800
committermbr <mbr@FreeBSD.org>2002-03-11 07:02:24 +0800
commit78681cdd72727870b82860218b1da0292159524e (patch)
treeae67c5d00cd37c891f14996bed2c947e89ddeda3 /editors/openoffice-2.0-devel
parent82a42eef36a20b14a130321f589015ace5c5cbef (diff)
downloadfreebsd-ports-gnome-78681cdd72727870b82860218b1da0292159524e.tar.gz
freebsd-ports-gnome-78681cdd72727870b82860218b1da0292159524e.tar.zst
freebsd-ports-gnome-78681cdd72727870b82860218b1da0292159524e.zip
Add langinfo twirks
Diffstat (limited to 'editors/openoffice-2.0-devel')
-rw-r--r--editors/openoffice-2.0-devel/files/patch-tools::source::string::charset.cxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/openoffice-2.0-devel/files/patch-tools::source::string::charset.cxx b/editors/openoffice-2.0-devel/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-tools::source::string::charset.cxx
@@ -0,0 +1,18 @@
+--- ../tools/source/string/charset.cxx.orig Sun Mar 10 23:55:47 2002
++++ ../tools/source/string/charset.cxx Sun Mar 10 23:57:30 2002
+@@ -64,12 +64,14 @@
+ #elif defined( OS2 )
+ #define INCL_DOSNLS
+ #include <svpm.h>
+-#elif defined(LINUX) || defined(SOLARIS)
++#elif defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <strings.h>
+ #include <locale.h>
++if !defined(FREEBSD) || OSVERSION > 500000
+ #include <langinfo.h>
++#endif
+ #ifndef _TOOLS_LANG_HXX
+ #include <lang.hxx>
+ #endif