aboutsummaryrefslogtreecommitdiff
path: root/java/jdk15/files/patch-deploy::native::msgString.c
diff options
context:
space:
mode:
Diffstat (limited to 'java/jdk15/files/patch-deploy::native::msgString.c')
-rw-r--r--java/jdk15/files/patch-deploy::native::msgString.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/jdk15/files/patch-deploy::native::msgString.c b/java/jdk15/files/patch-deploy::native::msgString.c
new file mode 100644
index 000000000000..8021bcfb9f8a
--- /dev/null
+++ b/java/jdk15/files/patch-deploy::native::msgString.c
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- ../../deploy/src/javaws/share/native/msgString.c 19 May 2005 19:55:19 -0000 1.2
++++ ../../deploy/src/javaws/share/native/msgString.c 5 Oct 2005 17:59:39 -0000
+@@ -146,7 +146,7 @@
+ if (value == NULL) {
+ value = defaultMessage;
+ }
+-#ifdef __OpenBSD__ /* XXXBSD: DISABLE_LOCALE */
++#if defined(__OpenBSD__) || defined(__FreeBSD__) /* XXXBSD: DISABLE_LOCALE */
+ v2 = strdup(value);
+ #else
+ len2 = DecodeMessage(value, wArray);