summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2/files/patch-sal+osl+unx+nlsupport.c
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-02-28 23:36:03 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-02-28 23:36:03 +0000
commit61a0b70bc93ba108f14eb356a1f4cb516d2bcbbc (patch)
treeead117b8ceccd59f007369348f4fcc40a664d3fa /editors/openoffice.org-2/files/patch-sal+osl+unx+nlsupport.c
parentUpdate to 0.62.2 (diff)
First step towards a working port.
Notes
Notes: svn path=/head/; revision=55362
Diffstat (limited to 'editors/openoffice.org-2/files/patch-sal+osl+unx+nlsupport.c')
-rw-r--r--editors/openoffice.org-2/files/patch-sal+osl+unx+nlsupport.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/editors/openoffice.org-2/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-2/files/patch-sal+osl+unx+nlsupport.c
new file mode 100644
index 000000000000..cd0c56d2c984
--- /dev/null
+++ b/editors/openoffice.org-2/files/patch-sal+osl+unx+nlsupport.c
@@ -0,0 +1,29 @@
+--- ../sal/osl/unx/nlsupport.c Wed Feb 27 00:54:01 2002
++++ ../sal/osl/unx/nlsupport.c Wed Feb 27 15:00:58 2002
+@@ -63,7 +63,7 @@
+ #include <osl/diagnose.h>
+ #include <osl/process.h>
+
+-#if defined(LINUX) || defined(SOLARIS)
++#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD)
+ #include <pthread.h>
+ #include <locale.h>
+ #include <langinfo.h>
+@@ -841,7 +841,7 @@
+ snprintf(env_buf, sizeof(env_buf), "LC_CTYPE=%s", locale_buf);
+ env_buf[sizeof(env_buf)] = '\0';
+ putenv(env_buf);
+-#elif defined( FREEBAD ) || defined( NETBSD )
++#elif defined( FREEBSD ) || defined( NETBSD )
+ setenv("LC_CTYPE", locale_buf, 1 );
+ #else
+ setenv( "LC_CTYPE", locale_buf );
+@@ -853,7 +853,7 @@
+ snprintf(env_buf, sizeof(env_buf), "LANG=%s", locale_buf);
+ env_buf[sizeof(env_buf)] = '\0';
+ putenv(env_buf);
+-#elif defined( FREEBAD ) || defined( NETBSD )
++#elif defined( FREEBSD ) || defined( NETBSD )
+ setenv("LC_CTYPE", locale_buf, 1 );
+ #else
+ setenv( "LANG", locale_buf );