X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=upstream%2Fgcc-3.3%2Fpatches%2Fforce-locale.patch;fp=upstream%2Fgcc-3.3%2Fpatches%2Fforce-locale.patch;h=eda75dfd302e46b5cfafb92cb72c533a5eb4a7b9;hb=9811ccc24ed671deaa204ad487634f2f32f322c5;hp=0000000000000000000000000000000000000000;hpb=37e6e2575609494ff0ef1714eee0c7cdf99e18e7;p=org.ibex.core.git 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.