Port the locale changes to the other gcc versions as well
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 21 Nov 2006 17:10:05 +0000 (17:10 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 21 Nov 2006 17:10:05 +0000 (17:10 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5608 3c298f89-4303-0410-b956-a3cf2f4a3e73

toolchain/gcc/patches/3.4.4/200-uclibc-locale.patch
toolchain/gcc/patches/3.4.5/200-uclibc-locale.patch
toolchain/gcc/patches/3.4.6-nonmips/200-uclibc-locale.patch
toolchain/gcc/patches/4.0.2/200-uclibc-locale.patch
toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch
toolchain/gcc/patches/4.1.0/200-uclibc-locale.patch
toolchain/gcc/patches/4.1.1/200-uclibc-locale.patch

index 3fc4900..26cf906 100644 (file)
@@ -3125,13 +3125,13 @@ diff -urN gcc-3.4.2-dist/libstdc++-v3/crossconfig.m4 gcc-3.4.2/libstdc++-v3/cros
 +    GLIBCXX_CHECK_WCHAR_T_SUPPORT
 +
 +    # For LFS.
-+    AC_DEFINE(HAVE_INT64_T)
++    GLIBCXX_CHECK_INT64_T
 +    case "$target" in
 +      *-uclinux*)
 +        # Don't enable LFS with uClinux
 +        ;;
 +      *)
-+        AC_DEFINE(_GLIBCXX_USE_LFS)
++        GLIBCXX_USE_LFS
 +    esac
 +
 +    # For showmanyc_helper().
index a97f22b..ed85bff 100644 (file)
@@ -3134,13 +3134,13 @@ diff -urN gcc-3.4.2-dist/libstdc++-v3/crossconfig.m4 gcc-3.4.2/libstdc++-v3/cros
 +    GLIBCXX_CHECK_WCHAR_T_SUPPORT
 +
 +    # For LFS.
-+    AC_DEFINE(HAVE_INT64_T)
++    GLIBCXX_CHECK_INT64_T
 +    case "$target" in
 +      *-uclinux*)
 +        # Don't enable LFS with uClinux
 +        ;;
 +      *)
-+        AC_DEFINE(_GLIBCXX_USE_LFS)
++        GLIBCXX_USE_LFS
 +    esac
 +
 +    # For showmanyc_helper().
index 3fc4900..26cf906 100644 (file)
@@ -3125,13 +3125,13 @@ diff -urN gcc-3.4.2-dist/libstdc++-v3/crossconfig.m4 gcc-3.4.2/libstdc++-v3/cros
 +    GLIBCXX_CHECK_WCHAR_T_SUPPORT
 +
 +    # For LFS.
-+    AC_DEFINE(HAVE_INT64_T)
++    GLIBCXX_CHECK_INT64_T
 +    case "$target" in
 +      *-uclinux*)
 +        # Don't enable LFS with uClinux
 +        ;;
 +      *)
-+        AC_DEFINE(_GLIBCXX_USE_LFS)
++        GLIBCXX_USE_LFS
 +    esac
 +
 +    # For showmanyc_helper().
index c57f173..0228568 100644 (file)
@@ -3070,13 +3070,13 @@ diff -urN gcc-4.1.0/libstdc++-v3/crossconfig.m4 gcc-4.1.0-patched/libstdc++-v3/c
 +    GLIBCXX_CHECK_WCHAR_T_SUPPORT
 +
 +    # For LFS.
-+    AC_DEFINE(HAVE_INT64_T)
++    GLIBCXX_CHECK_INT64_T
 +    case "$target" in
 +      *-uclinux*)
 +        # Don't enable LFS with uClinux
 +        ;;
 +      *)
-+        AC_DEFINE(_GLIBCXX_USE_LFS)
++        GLIBCXX_USE_LFS
 +    esac
 +
 +    # For showmanyc_helper().
index ac4cf97..e28fbd5 100644 (file)
@@ -3117,13 +3117,13 @@ diff -urN gcc-4.0.0-100/libstdc++-v3/crossconfig.m4 gcc-4.0.0/libstdc++-v3/cross
 +    GLIBCXX_CHECK_WCHAR_T_SUPPORT
 +
 +    # For LFS.
-+    AC_DEFINE(HAVE_INT64_T)
++    GLIBCXX_CHECK_INT64_T
 +    case "$target" in
 +      *-uclinux*)
 +        # Don't enable LFS with uClinux
 +        ;;
 +      *)
-+        AC_DEFINE(_GLIBCXX_USE_LFS)
++        GLIBCXX_USE_LFS
 +    esac
 +
 +    # For showmanyc_helper().
index bba729c..637a42d 100644 (file)
@@ -3125,13 +3125,13 @@ diff -urN gcc-4.1.0/libstdc++-v3/crossconfig.m4 gcc-4.1.0-patched/libstdc++-v3/c
 +    GLIBCXX_CHECK_WCHAR_T_SUPPORT
 +
 +    # For LFS.
-+    AC_DEFINE(HAVE_INT64_T)
++    GLIBCXX_CHECK_INT64_T
 +    case "$target" in
 +      *-uclinux*)
 +        # Don't enable LFS with uClinux
 +        ;;
 +      *)
-+        AC_DEFINE(_GLIBCXX_USE_LFS)
++        GLIBCXX_USE_LFS
 +    esac
 +
 +    # For showmanyc_helper().
index 6cfbc62..681e81e 100644 (file)
 +    GLIBCXX_CHECK_WCHAR_T_SUPPORT
 +
 +    # For LFS.
-+    AC_DEFINE(HAVE_INT64_T)
++    GLIBCXX_CHECK_INT64_T
 +    case "$target" in
 +      *-uclinux*)
 +        # Don't enable LFS with uClinux
 +        ;;
 +      *)
-+        AC_DEFINE(_GLIBCXX_USE_LFS)
++        GLIBCXX_USE_LFS
 +    esac
 +
 +    # For showmanyc_helper().