Port the locale changes to the other gcc versions as well
authorFlorian Fainelli <florian@openwrt.org>
Tue, 21 Nov 2006 17:10:05 +0000 (17:10 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 21 Nov 2006 17:10:05 +0000 (17:10 +0000)
SVN-Revision: 5608

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 3fc4900b06a203e73324f257c5518a6319268e2c..26cf90624e230355b02eced528b45c2999dd5d18 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 a97f22b49adbb5c28a09f7bd7bf45ddead9f082e..ed85bff24374a2191b64c3e83205751befb534d5 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 3fc4900b06a203e73324f257c5518a6319268e2c..26cf90624e230355b02eced528b45c2999dd5d18 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 c57f17312b26a6318850702f8cb0d66cc8bba0c2..0228568977bb070c4d3bb03903d778efe1eecae8 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 ac4cf97209454a11493dfc3a31d7d09743855430..e28fbd5326354c5f029e3513ff31dc7d795da4af 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 bba729ce79081a89e9357859d63395e25d92cb35..637a42d9053273cd36a792aeef6f2b5f9ac17d92 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 6cfbc625097935422314dabaf2a1e9db0bf5a80c..681e81e27c76280394d85f0909d56a4d252eb062 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().