summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2/files/patch-sal+osl+unx+nlsupport.c
diff options
context:
space:
mode:
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.c27
1 files changed, 0 insertions, 27 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
index 221973d22290..68bf4b815221 100644
--- a/editors/openoffice.org-2/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice.org-2/files/patch-sal+osl+unx+nlsupport.c
@@ -68,33 +68,6 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -829,7 +833,7 @@
- snprintf(env_buf, sizeof(env_buf), "LC_ALL=%s", locale_buf);
- env_buf[sizeof(env_buf)] = '\0';
- putenv(env_buf);
--#elif defined( FREEBSD ) || defined( NETBSD )
-+#elif defined( FREEBSD )
- setenv( "LC_ALL", locale_buf, 1);
- #else
- setenv( "LC_ALL", locale_buf );
-@@ -841,7 +845,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 )
- setenv("LC_CTYPE", locale_buf, 1 );
- #else
- setenv( "LC_CTYPE", locale_buf );
-@@ -853,7 +857,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 )
- setenv("LC_CTYPE", locale_buf, 1 );
- #else
- setenv( "LANG", locale_buf );
@@ -864,6 +868,6 @@
return 0;
}