diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-04-19 21:27:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-28 10:44:21 +0100 |
commit | 3669de7f96100a5d4fbfc9b4e2ebc16851ba98ea (patch) | |
tree | 66743557d4203b019988970a6fa3ac603c06c991 /meta/recipes-devtools/gcc/gcc-4.6.0/306-libstdc++-namespace.patch | |
parent | 07a6bec75c59fec06d0947ada708482900bf067a (diff) | |
download | poky-3669de7f96100a5d4fbfc9b4e2ebc16851ba98ea.tar.gz |
gcc: Add recipes for 4.6.0
This is initial set of patches for testing them out
The patches need documentation is pending
Some patches especially uclibc related are not
needed they must be dropped.
(From OE-Core rev: 26858099bc104efc3b3d15d9298018285c551b9a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/306-libstdc++-namespace.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.0/306-libstdc++-namespace.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/306-libstdc++-namespace.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/306-libstdc++-namespace.patch new file mode 100644 index 0000000000..1fbf043f09 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.6.0/306-libstdc++-namespace.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | Index: gcc-4.6.0/libstdc++-v3/config/locale/uclibc/messages_members.h | ||
2 | =================================================================== | ||
3 | --- gcc-4.6.0.orig/libstdc++-v3/config/locale/uclibc/messages_members.h | ||
4 | +++ gcc-4.6.0/libstdc++-v3/config/locale/uclibc/messages_members.h | ||
5 | @@ -32,7 +32,8 @@ | ||
6 | // | ||
7 | |||
8 | // Written by Benjamin Kosnik <bkoz@redhat.com> | ||
9 | - | ||
10 | +namespace std | ||
11 | +{ | ||
12 | #ifdef __UCLIBC_MJN3_ONLY__ | ||
13 | #warning fix prototypes for *textdomain funcs | ||
14 | #endif | ||
15 | @@ -116,3 +117,4 @@ | ||
16 | this->_S_create_c_locale(this->_M_c_locale_messages, __s); | ||
17 | } | ||
18 | } | ||
19 | +} | ||
20 | Index: gcc-4.6.0/libstdc++-v3/config/locale/uclibc/time_members.h | ||
21 | =================================================================== | ||
22 | --- gcc-4.6.0.orig/libstdc++-v3/config/locale/uclibc/time_members.h | ||
23 | +++ gcc-4.6.0/libstdc++-v3/config/locale/uclibc/time_members.h | ||
24 | @@ -33,7 +33,8 @@ | ||
25 | // | ||
26 | |||
27 | // Written by Benjamin Kosnik <bkoz@redhat.com> | ||
28 | - | ||
29 | +namespace std | ||
30 | +{ | ||
31 | template<typename _CharT> | ||
32 | __timepunct<_CharT>::__timepunct(size_t __refs) | ||
33 | : facet(__refs), _M_data(NULL), _M_c_locale_timepunct(NULL), | ||
34 | @@ -75,3 +76,4 @@ | ||
35 | delete _M_data; | ||
36 | _S_destroy_c_locale(_M_c_locale_timepunct); | ||
37 | } | ||
38 | +} | ||