From 61a0b70bc93ba108f14eb356a1f4cb516d2bcbbc Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Thu, 28 Feb 2002 23:36:03 +0000 Subject: First step towards a working port. --- .../files/patch-sal+osl+unx+nlsupport.c | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 editors/openoffice.org-2/files/patch-sal+osl+unx+nlsupport.c (limited to 'editors/openoffice.org-2/files/patch-sal+osl+unx+nlsupport.c') 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 + #include + +-#if defined(LINUX) || defined(SOLARIS) ++#if defined(LINUX) || defined(SOLARIS) || defined(FREEBSD) + #include + #include + #include +@@ -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 ); -- cgit v1.2.3