summaryrefslogtreecommitdiff
path: root/debian/patches/icedtea-4953367.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/icedtea-4953367.patch')
-rw-r--r--debian/patches/icedtea-4953367.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/icedtea-4953367.patch b/debian/patches/icedtea-4953367.patch
new file mode 100644
index 0000000..9c083cd
--- /dev/null
+++ b/debian/patches/icedtea-4953367.patch
@@ -0,0 +1,21 @@
+http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4953367
+
+--- a/jdk/src/solaris/native/java/lang/java_props_md.c
++++ b/jdk/src/solaris/native/java/lang/java_props_md.c
+@@ -612,6 +612,7 @@ GetJavaProperties(JNIEnv *env)
+ sprops.path_separator = ":";
+ sprops.line_separator = "\n";
+
++#ifndef __linux__
+ #if !defined(_ALLBSD_SOURCE)
+ /* Append CDE message and resource search path to NLSPATH and
+ * XFILESEARCHPATH, in order to pick localized message for
+@@ -620,7 +621,7 @@ GetJavaProperties(JNIEnv *env)
+ setPathEnvironment("NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat");
+ setPathEnvironment("XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt");
+ #endif
+-
++#endif
+
+ #ifdef MACOSX
+ setProxyProperties(&sprops);