From: Florian Fainelli Date: Tue, 21 Nov 2006 17:10:05 +0000 (+0000) Subject: Port the locale changes to the other gcc versions as well X-Git-Tag: reboot~30400 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6896287581de902f29408a39f40332cc398aec60;p=openwrt%2Fstaging%2Fblogic.git Port the locale changes to the other gcc versions as well SVN-Revision: 5608 --- diff --git a/toolchain/gcc/patches/3.4.4/200-uclibc-locale.patch b/toolchain/gcc/patches/3.4.4/200-uclibc-locale.patch index 3fc4900b06a2..26cf90624e23 100644 --- a/toolchain/gcc/patches/3.4.4/200-uclibc-locale.patch +++ b/toolchain/gcc/patches/3.4.4/200-uclibc-locale.patch @@ -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(). diff --git a/toolchain/gcc/patches/3.4.5/200-uclibc-locale.patch b/toolchain/gcc/patches/3.4.5/200-uclibc-locale.patch index a97f22b49adb..ed85bff24374 100644 --- a/toolchain/gcc/patches/3.4.5/200-uclibc-locale.patch +++ b/toolchain/gcc/patches/3.4.5/200-uclibc-locale.patch @@ -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(). diff --git a/toolchain/gcc/patches/3.4.6-nonmips/200-uclibc-locale.patch b/toolchain/gcc/patches/3.4.6-nonmips/200-uclibc-locale.patch index 3fc4900b06a2..26cf90624e23 100644 --- a/toolchain/gcc/patches/3.4.6-nonmips/200-uclibc-locale.patch +++ b/toolchain/gcc/patches/3.4.6-nonmips/200-uclibc-locale.patch @@ -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(). diff --git a/toolchain/gcc/patches/4.0.2/200-uclibc-locale.patch b/toolchain/gcc/patches/4.0.2/200-uclibc-locale.patch index c57f17312b26..0228568977bb 100644 --- a/toolchain/gcc/patches/4.0.2/200-uclibc-locale.patch +++ b/toolchain/gcc/patches/4.0.2/200-uclibc-locale.patch @@ -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(). diff --git a/toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch b/toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch index ac4cf9720945..e28fbd532635 100644 --- a/toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch +++ b/toolchain/gcc/patches/4.0.3/200-uclibc-locale.patch @@ -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(). diff --git a/toolchain/gcc/patches/4.1.0/200-uclibc-locale.patch b/toolchain/gcc/patches/4.1.0/200-uclibc-locale.patch index bba729ce7908..637a42d90532 100644 --- a/toolchain/gcc/patches/4.1.0/200-uclibc-locale.patch +++ b/toolchain/gcc/patches/4.1.0/200-uclibc-locale.patch @@ -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(). diff --git a/toolchain/gcc/patches/4.1.1/200-uclibc-locale.patch b/toolchain/gcc/patches/4.1.1/200-uclibc-locale.patch index 6cfbc6250979..681e81e27c76 100644 --- a/toolchain/gcc/patches/4.1.1/200-uclibc-locale.patch +++ b/toolchain/gcc/patches/4.1.1/200-uclibc-locale.patch @@ -3120,13 +3120,13 @@ + 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().