From 9811ccc24ed671deaa204ad487634f2f32f322c5 Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 07:15:29 +0000 Subject: [PATCH] 2003/09/10 08:12:15 darcs-hash:20040130071529-2ba56-c72216efeba66af428cfe2b9e307676a62b23946.gz --- upstream/gcc-3.3/patches/force-locale.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 upstream/gcc-3.3/patches/force-locale.patch diff --git a/upstream/gcc-3.3/patches/force-locale.patch b/upstream/gcc-3.3/patches/force-locale.patch new file mode 100644 index 0000000..eda75df --- /dev/null +++ b/upstream/gcc-3.3/patches/force-locale.patch @@ -0,0 +1,20 @@ +--- libjava/java/util/Locale.java Wed Nov 27 14:41:07 2002 ++++ libjava/java/util/Locale.java Wed Sep 10 00:10:27 2003 +@@ -193,10 +193,16 @@ + * null. Note the logic in the main constructor, to detect when + * bootstrapping has completed. + */ +- private static Locale defaultLocale = ++ ++ // XWT-specific hack: we're having a lot of trouble with Locales ++ // and static linkage, so we force this to a known locale. ++ private static Locale defaultLocale = new Locale("en", "", ""); ++ ++ /* + new Locale(System.getProperty("user.language", "en"), + System.getProperty("user.region", ""), + System.getProperty("user.variant", "")); ++ */ + + /** + * Convert new iso639 codes to the old ones. -- 1.7.10.4