diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-devtools/gcc/gcc-4.7/304-index_macro.patch | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.7/304-index_macro.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7/304-index_macro.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7/304-index_macro.patch b/meta/recipes-devtools/gcc/gcc-4.7/304-index_macro.patch new file mode 100644 index 0000000000..f103765233 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.7/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 | ||