diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2006-06-19 21:33:47 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-06-19 21:33:47 +0000 |
commit | d8aaeca2ad195be3be0bde2ffccf371184d00a70 (patch) | |
tree | f8e2488cc3987338968661769699773654e13247 /packages/gcc/gcc-4.1.1/304-index_macro.patch | |
parent | a92f4b1b919577821c18e65ea0a6ade1cfddc8a2 (diff) | |
parent | cccc0c41c26272f9df82ddd32e58c1fd33a1aef2 (diff) |
merge of 67ad681c17b58ee0ff1e672b4aa634ab523a9e11
and f964e908fbdc16f8a354efde04a6cd7a81ce0a6a
Diffstat (limited to 'packages/gcc/gcc-4.1.1/304-index_macro.patch')
-rw-r--r-- | packages/gcc/gcc-4.1.1/304-index_macro.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.1.1/304-index_macro.patch b/packages/gcc/gcc-4.1.1/304-index_macro.patch new file mode 100644 index 0000000000..1fac112fa9 --- /dev/null +++ b/packages/gcc/gcc-4.1.1/304-index_macro.patch @@ -0,0 +1,24 @@ +--- gcc-4.1.0/libstdc++-v3/include/ext/rope.mps 2006-03-24 01:49:51 +0100 ++++ gcc-4.1.0/libstdc++-v3/include/ext/rope 2006-03-24 01:49:37 +0100 +@@ -59,6 +59,9 @@ + #include <bits/allocator.h> + #include <ext/hash_fun.h> + ++/* cope w/ index defined as macro, SuSv3 proposal */ ++#undef index ++ + # ifdef __GC + # define __GC_CONST const + # else +--- gcc-4.1.0/libstdc++-v3/include/ext/ropeimpl.h.mps 2006-03-24 01:50:04 +0100 ++++ gcc-4.1.0/libstdc++-v3/include/ext/ropeimpl.h 2006-03-24 01:50:28 +0100 +@@ -53,6 +53,9 @@ + #include <ext/memory> // For uninitialized_copy_n + #include <ext/numeric> // For power + ++/* cope w/ index defined as macro, SuSv3 proposal */ ++#undef index ++ + namespace __gnu_cxx + { + using std::size_t; |