1.1 --- a/patches/gcc/4.2.4/304-index_macro.patch Mon Jul 28 21:08:01 2008 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,26 +0,0 @@
1.4 -diff -durN gcc-4.2.1.orig/libstdc++-v3/include/ext/rope gcc-4.2.1/libstdc++-v3/include/ext/rope
1.5 ---- gcc-4.2.1.orig/libstdc++-v3/include/ext/rope 2006-10-17 13:56:21.000000000 +0200
1.6 -+++ gcc-4.2.1/libstdc++-v3/include/ext/rope 2007-08-03 20:34:23.000000000 +0200
1.7 -@@ -58,6 +58,9 @@
1.8 - #include <bits/allocator.h>
1.9 - #include <ext/hash_fun.h>
1.10 -
1.11 -+/* cope w/ index defined as macro, SuSv3 proposal */
1.12 -+#undef index
1.13 -+
1.14 - # ifdef __GC
1.15 - # define __GC_CONST const
1.16 - # else
1.17 -diff -durN gcc-4.2.1.orig/libstdc++-v3/include/ext/ropeimpl.h gcc-4.2.1/libstdc++-v3/include/ext/ropeimpl.h
1.18 ---- gcc-4.2.1.orig/libstdc++-v3/include/ext/ropeimpl.h 2006-10-17 13:56:21.000000000 +0200
1.19 -+++ gcc-4.2.1/libstdc++-v3/include/ext/ropeimpl.h 2007-08-03 20:34:23.000000000 +0200
1.20 -@@ -54,6 +54,9 @@
1.21 - #include <ext/memory> // For uninitialized_copy_n
1.22 - #include <ext/numeric> // For power
1.23 -
1.24 -+/* cope w/ index defined as macro, SuSv3 proposal */
1.25 -+#undef index
1.26 -+
1.27 - _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
1.28 -
1.29 - using std::size_t;