summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/openoffice-1.0/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice-1.0/files/patch-sal::osl::unx::nlsupport.c25
-rw-r--r--editors/openoffice-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice-1.0/files/patch-sysui::tools::lngconv::lngconv.cxx11
-rw-r--r--editors/openoffice-1.1-devel/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice-1.1-devel/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice-1.1/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice-1.1/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice-2.0-devel/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice-2.0-devel/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice-3-devel/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice-3-devel/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice-3/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice-3/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice-devel/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice-devel/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice.org-1.0/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice.org-1.0/files/patch-sal::osl::unx::nlsupport.c25
-rw-r--r--editors/openoffice.org-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice.org-1.0/files/patch-sysui::tools::lngconv::lngconv.cxx11
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice.org-1.1/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice.org-1.1/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice.org-2-RC/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice.org-2-RC/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice.org-2-devel/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice.org-2-devel/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice.org-2.0/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice.org-2.0/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice.org-2/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice.org-2/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice.org-3-RC/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice.org-3-RC/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice.org-3-devel/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice.org-3-devel/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice.org-3/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice.org-3/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice/files/patch-sal+osl+unx+nlsupport.c25
-rw-r--r--editors/openoffice/files/patch-sal::osl::unx::nlsupport.c25
-rw-r--r--editors/openoffice/files/patch-sysui+tools+lngconv+lngconv.cxx11
-rw-r--r--editors/openoffice/files/patch-sysui::tools::lngconv::lngconv.cxx11
46 files changed, 644 insertions, 184 deletions
diff --git a/editors/openoffice-1.0/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice-1.0/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice-1.0/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice-1.0/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice-1.0/files/patch-sal::osl::unx::nlsupport.c b/editors/openoffice-1.0/files/patch-sal::osl::unx::nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice-1.0/files/patch-sal::osl::unx::nlsupport.c
+++ b/editors/openoffice-1.0/files/patch-sal::osl::unx::nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice-1.0/files/patch-sysui::tools::lngconv::lngconv.cxx b/editors/openoffice-1.0/files/patch-sysui::tools::lngconv::lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice-1.0/files/patch-sysui::tools::lngconv::lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice-1.1-devel/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice-1.1-devel/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice-1.1-devel/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice-1.1-devel/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice-1.1-devel/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice-1.1-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice-1.1-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice-1.1/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice-1.1/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice-1.1/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice-1.1/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice-1.1/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice-1.1/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice-1.1/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice-2.0-devel/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice-2.0-devel/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice-2.0-devel/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice-2.0-devel/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice-2.0-devel/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice-2.0-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice-3-devel/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice-3-devel/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice-3-devel/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice-3-devel/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice-3-devel/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice-3-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice-3-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice-3/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice-3/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice-3/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice-3/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice-3/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice-3/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice-3/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice-devel/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice-devel/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice-devel/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice-devel/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice-devel/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice.org-1.0/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-1.0/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice.org-1.0/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice.org-1.0/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice.org-1.0/files/patch-sal::osl::unx::nlsupport.c b/editors/openoffice.org-1.0/files/patch-sal::osl::unx::nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice.org-1.0/files/patch-sal::osl::unx::nlsupport.c
+++ b/editors/openoffice.org-1.0/files/patch-sal::osl::unx::nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice.org-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice.org-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice.org-1.0/files/patch-sysui::tools::lngconv::lngconv.cxx b/editors/openoffice.org-1.0/files/patch-sysui::tools::lngconv::lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice.org-1.0/files/patch-sysui::tools::lngconv::lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice.org-1.1-devel/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice.org-1.1-devel/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice.org-1.1-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice.org-1.1-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice.org-1.1/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-1.1/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice.org-1.1/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice.org-1.1/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice.org-1.1/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice.org-1.1/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice.org-1.1/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice.org-2-RC/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice.org-2-RC/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice.org-2-RC/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice.org-2-RC/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice.org-2-devel/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-2-devel/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice.org-2-devel/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice.org-2-devel/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice.org-2-devel/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice.org-2-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice.org-2-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice.org-2.0-devel/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-2.0-devel/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice.org-2.0-devel/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice.org-2.0-devel/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice.org-2.0-devel/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice.org-2.0-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice.org-2.0/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-2.0/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice.org-2.0/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice.org-2.0/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice.org-2.0/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice.org-2.0/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice.org-2.0/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
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 807aeacda025..40154d65aca6 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
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice.org-2/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice.org-2/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice.org-2/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice.org-3-RC/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-3-RC/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice.org-3-RC/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice.org-3-RC/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice.org-3-RC/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice.org-3-RC/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice.org-3-RC/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice.org-3-devel/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-3-devel/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice.org-3-devel/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice.org-3-devel/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice.org-3-devel/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice.org-3-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice.org-3/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-3/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice.org-3/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice.org-3/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice.org-3/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice.org-3/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice.org-3/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice.org-vcltesttool/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-vcltesttool/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice.org-vcltesttool/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice.org-vcltesttool/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice.org-vcltesttool/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice.org-vcltesttool/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice/files/patch-sal+osl+unx+nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice/files/patch-sal+osl+unx+nlsupport.c
+++ b/editors/openoffice/files/patch-sal+osl+unx+nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice/files/patch-sal::osl::unx::nlsupport.c b/editors/openoffice/files/patch-sal::osl::unx::nlsupport.c
index 807aeacda025..40154d65aca6 100644
--- a/editors/openoffice/files/patch-sal::osl::unx::nlsupport.c
+++ b/editors/openoffice/files/patch-sal::osl::unx::nlsupport.c
@@ -1,5 +1,5 @@
---- ../sal/osl/unx/nlsupport.c.orig Sun Mar 17 12:48:42 2002
-+++ ../sal/osl/unx/nlsupport.c Wed Apr 3 00:57:03 2002
+--- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002
++++ ../sal/osl/unx/nlsupport.c Sat Jul 20 22:42:15 2002
@@ -63,7 +63,7 @@
#include <osl/diagnose.h>
#include <osl/process.h>
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <locale.h>
#include <langinfo.h>
-@@ -242,7 +242,7 @@
+@@ -241,7 +241,7 @@
return NULL;
}
@@ -18,7 +18,16 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -314,7 +314,7 @@
+@@ -254,7 +254,7 @@
+ * XXX this code has the usual mt problems aligned with setlocale() XXX
+ */
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(NETBSD) || defined(FREEBSD)
+ #if !defined(CODESET)
+ #define CODESET _NL_CTYPE_CODESET_NAME
+ #endif
+@@ -315,7 +315,7 @@
{ "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */
};
@@ -27,7 +36,7 @@
const _pair _nl_language_list[] = {
{ "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */
-@@ -495,7 +495,7 @@
+@@ -496,7 +496,7 @@
{ "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */
};
@@ -36,7 +45,7 @@
static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -617,7 +617,7 @@
+@@ -618,7 +618,7 @@
return ret;
}
@@ -45,7 +54,7 @@
/*
* FIXME: the MacOS X implemetation is missing
-@@ -650,7 +650,7 @@
+@@ -651,7 +651,7 @@
return 0;
}
@@ -54,7 +63,7 @@
/*
* This implementation of osl_getTextEncodingFromLocale maps
-@@ -884,6 +884,6 @@
+@@ -887,6 +887,6 @@
return 0;
}
diff --git a/editors/openoffice/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice/files/patch-sysui+tools+lngconv+lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice/files/patch-sysui+tools+lngconv+lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif
diff --git a/editors/openoffice/files/patch-sysui::tools::lngconv::lngconv.cxx b/editors/openoffice/files/patch-sysui::tools::lngconv::lngconv.cxx
new file mode 100644
index 000000000000..732f77fcb482
--- /dev/null
+++ b/editors/openoffice/files/patch-sysui::tools::lngconv::lngconv.cxx
@@ -0,0 +1,11 @@
+--- ../sysui/tools/lngconv/lngconv.cxx.orig Sat Jul 20 23:14:29 2002
++++ ../sysui/tools/lngconv/lngconv.cxx Sat Jul 20 23:14:34 2002
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+
+-#if defined( LINUX ) || defined (SOLARIS)
++#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD)
+ #include <locale.h>
+ #include <langinfo.h>
+ #endif