diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-06-28 12:19:53 -0700 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-09 18:40:21 +0200 |
commit | 6b278fbb02d818b54b5a9fa2716fc49e896b72a8 (patch) | |
tree | 833783fb738ff7abf3d0e3029c9a468e73b06e28 /toolchain-layer/recipes-devtools/gcc/gcc-4.6/304-index_macro.patch | |
parent | 680af24d1ff95533db610176e6b01fcc9dcf6699 (diff) | |
download | meta-openembedded-6b278fbb02d818b54b5a9fa2716fc49e896b72a8.tar.gz |
gcc-4.6: Migrate recipes from OE-Core
Remove linaro patches. If one needs to use linaro
modified gcc they should use meta-linaro
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.6/304-index_macro.patch')
-rw-r--r-- | toolchain-layer/recipes-devtools/gcc/gcc-4.6/304-index_macro.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.6/304-index_macro.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.6/304-index_macro.patch new file mode 100644 index 0000000000..f103765233 --- /dev/null +++ b/toolchain-layer/recipes-devtools/gcc/gcc-4.6/304-index_macro.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Index: gcc-4.6.0/libstdc++-v3/include/ext/rope | ||
4 | =================================================================== | ||
5 | --- gcc-4.6.0.orig/libstdc++-v3/include/ext/rope | ||
6 | +++ gcc-4.6.0/libstdc++-v3/include/ext/rope | ||
7 | @@ -54,6 +54,9 @@ | ||
8 | #include <bits/gthr.h> | ||
9 | #include <tr1/functional> | ||
10 | |||
11 | +/* cope w/ index defined as macro, SuSv3 proposal */ | ||
12 | +#undef index | ||
13 | + | ||
14 | # ifdef __GC | ||
15 | # define __GC_CONST const | ||
16 | # else | ||
17 | Index: gcc-4.6.0/libstdc++-v3/include/ext/ropeimpl.h | ||
18 | =================================================================== | ||
19 | --- gcc-4.6.0.orig/libstdc++-v3/include/ext/ropeimpl.h | ||
20 | +++ gcc-4.6.0/libstdc++-v3/include/ext/ropeimpl.h | ||
21 | @@ -49,6 +49,9 @@ | ||
22 | #include <ext/memory> // For uninitialized_copy_n | ||
23 | #include <ext/numeric> // For power | ||
24 | |||
25 | +/* cope w/ index defined as macro, SuSv3 proposal */ | ||
26 | +#undef index | ||
27 | + | ||
28 | namespace __gnu_cxx _GLIBCXX_VISIBILITY(default) | ||
29 | { | ||
30 | _GLIBCXX_BEGIN_NAMESPACE_VERSION | ||