summaryrefslogtreecommitdiffstats
path: root/patches/gcc-4.1.2
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2007-07-19 19:44:02 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2007-07-19 19:44:02 +0000
commit53517437e53f3e0724a528ca57a1de03b1d2c562 (patch)
treee48291386b74861a05717ed949d50d38a084ba39 /patches/gcc-4.1.2
parentf0970ab1c5e18c925a7ea45b7173b314be1d7d71 (diff)
downloadOSELAS.Toolchain-53517437e53f3e0724a528ca57a1de03b1d2c562.tar.gz
OSELAS.Toolchain-53517437e53f3e0724a528ca57a1de03b1d2c562.tar.xz
* libstdc++-v3__ctype_touplow_t-fix.patch
refreshed git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@3337 f8d472c7-5700-0410-ac5a-87979cec3adf
Diffstat (limited to 'patches/gcc-4.1.2')
-rw-r--r--patches/gcc-4.1.2/generic/libstdc++-v3__ctype_touplow_t-fix.patch17
1 files changed, 13 insertions, 4 deletions
diff --git a/patches/gcc-4.1.2/generic/libstdc++-v3__ctype_touplow_t-fix.patch b/patches/gcc-4.1.2/generic/libstdc++-v3__ctype_touplow_t-fix.patch
index 1be9db1..7f6f371 100644
--- a/patches/gcc-4.1.2/generic/libstdc++-v3__ctype_touplow_t-fix.patch
+++ b/patches/gcc-4.1.2/generic/libstdc++-v3__ctype_touplow_t-fix.patch
@@ -1,8 +1,15 @@
# libstdc++-v3/include/i586-linux-uclibc/bits/ctype_noninline.h: In constructor `std::ctype<char>::ctype(int*, const short unsigned int*, bool, size_t)':
# libstdc++-v3/include/i586-linux-uclibc/bits/ctype_noninline.h:85: error: cannot convert `const __ctype_touplow_t*' to `const int*' in assignment
#
---- gcc-4.1.2/libstdc++-v3/config/locale/generic/c_locale.h.orig 2007-03-20 12:41:43.000000000 +0100
-+++ gcc-4.1.2/libstdc++-v3/config/locale/generic/c_locale.h 2007-03-20 12:43:15.000000000 +0100
+---
+# libstdc++-v3/config/locale/generic/c_locale.h | 6 ++++++
+# libstdc++-v3/config/os/gnu-linux/ctype_base.h | 10 ++++++++--
+# 2 files changed, 14 insertions(+), 2 deletions(-)
+#
+Index: gcc-4.1.2/libstdc++-v3/config/locale/generic/c_locale.h
+===================================================================
+--- gcc-4.1.2.orig/libstdc++-v3/config/locale/generic/c_locale.h
++++ gcc-4.1.2/libstdc++-v3/config/locale/generic/c_locale.h
@@ -41,12 +41,18 @@
#include <clocale>
#include <cstring> // get std::strlen
@@ -22,8 +29,10 @@
// Convert numeric value of type _Tv to string and return length of
// string. If snprintf is available use it, otherwise fall back to
---- gcc-4.1.2/libstdc++-v3/config/os/gnu-linux/ctype_base.h.orig 2007-03-20 12:43:29.000000000 +0100
-+++ gcc-4.1.2/libstdc++-v3/config/os/gnu-linux/ctype_base.h 2007-03-20 12:46:16.000000000 +0100
+Index: gcc-4.1.2/libstdc++-v3/config/os/gnu-linux/ctype_base.h
+===================================================================
+--- gcc-4.1.2.orig/libstdc++-v3/config/os/gnu-linux/ctype_base.h
++++ gcc-4.1.2/libstdc++-v3/config/os/gnu-linux/ctype_base.h
@@ -31,7 +31,9 @@
//
// ISO C++ 14882: 22.1 Locales