aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-03-10 23:02:24 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-03-10 23:02:24 +0000
commitb19cbdef34de0e07cc1ee2c6f49b510284b2d912 (patch)
treea8caa0e0a0890cb188a94222add3c6a62991c20b /editors
parent60deb7a34dfb3bec524cbbe6a0af0924afe19b63 (diff)
downloadports-b19cbdef34de0e07cc1ee2c6f49b510284b2d912.tar.gz
ports-b19cbdef34de0e07cc1ee2c6f49b510284b2d912.zip
Add langinfo twirks
Notes
Notes: svn path=/head/; revision=55836
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-1.0/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice-1.1-devel/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice-1.1/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice-2.0-devel/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice-3-devel/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice-3/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice-devel/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice.org-1.0/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice.org-1.1/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice.org-2-RC/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice.org-2-devel/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice.org-2.0/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice.org-2/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice.org-3-RC/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice.org-3-devel/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice.org-3/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-tools::source::string::charset.cxx18
-rw-r--r--editors/openoffice/files/patch-tools::source::string::charset.cxx18
20 files changed, 360 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..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice-1.0/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
diff --git a/editors/openoffice-1.1-devel/files/patch-tools::source::string::charset.cxx b/editors/openoffice-1.1-devel/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice-1.1-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
diff --git a/editors/openoffice-1.1/files/patch-tools::source::string::charset.cxx b/editors/openoffice-1.1/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice-1.1/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
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
diff --git a/editors/openoffice-3-devel/files/patch-tools::source::string::charset.cxx b/editors/openoffice-3-devel/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice-3-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
diff --git a/editors/openoffice-3/files/patch-tools::source::string::charset.cxx b/editors/openoffice-3/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice-3/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
diff --git a/editors/openoffice-devel/files/patch-tools::source::string::charset.cxx b/editors/openoffice-devel/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice-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
diff --git a/editors/openoffice.org-1.0/files/patch-tools::source::string::charset.cxx b/editors/openoffice.org-1.0/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice.org-1.0/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
diff --git a/editors/openoffice.org-1.1-devel/files/patch-tools::source::string::charset.cxx b/editors/openoffice.org-1.1-devel/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice.org-1.1-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
diff --git a/editors/openoffice.org-1.1/files/patch-tools::source::string::charset.cxx b/editors/openoffice.org-1.1/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice.org-1.1/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
diff --git a/editors/openoffice.org-2-RC/files/patch-tools::source::string::charset.cxx b/editors/openoffice.org-2-RC/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice.org-2-RC/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
diff --git a/editors/openoffice.org-2-devel/files/patch-tools::source::string::charset.cxx b/editors/openoffice.org-2-devel/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice.org-2-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
diff --git a/editors/openoffice.org-2.0-devel/files/patch-tools::source::string::charset.cxx b/editors/openoffice.org-2.0-devel/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice.org-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
diff --git a/editors/openoffice.org-2.0/files/patch-tools::source::string::charset.cxx b/editors/openoffice.org-2.0/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice.org-2.0/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
diff --git a/editors/openoffice.org-2/files/patch-tools::source::string::charset.cxx b/editors/openoffice.org-2/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice.org-2/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
diff --git a/editors/openoffice.org-3-RC/files/patch-tools::source::string::charset.cxx b/editors/openoffice.org-3-RC/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice.org-3-RC/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
diff --git a/editors/openoffice.org-3-devel/files/patch-tools::source::string::charset.cxx b/editors/openoffice.org-3-devel/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice.org-3-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
diff --git a/editors/openoffice.org-3/files/patch-tools::source::string::charset.cxx b/editors/openoffice.org-3/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice.org-3/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
diff --git a/editors/openoffice.org-vcltesttool/files/patch-tools::source::string::charset.cxx b/editors/openoffice.org-vcltesttool/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/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
diff --git a/editors/openoffice/files/patch-tools::source::string::charset.cxx b/editors/openoffice/files/patch-tools::source::string::charset.cxx
new file mode 100644
index 000000000000..d59b855eb86f
--- /dev/null
+++ b/editors/openoffice/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