From: megacz Date: Fri, 30 Jan 2004 07:15:29 +0000 (+0000) Subject: 2003/09/10 08:12:15 X-Git-Tag: RC3~642 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=9811ccc24ed671deaa204ad487634f2f32f322c5;p=org.ibex.core.git 2003/09/10 08:12:15 darcs-hash:20040130071529-2ba56-c72216efeba66af428cfe2b9e307676a62b23946.gz --- 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.