patches/gcc/3.4.6/304-index_macro.patch
changeset 747 d3e603e7c17c
parent 746 b150d6f590fc
child 748 61cd4eb6034d
     1.1 --- a/patches/gcc/3.4.6/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-3.4.6.orig/libstdc++-v3/include/ext/rope gcc-3.4.6/libstdc++-v3/include/ext/rope
     1.5 ---- gcc-3.4.6.orig/libstdc++-v3/include/ext/rope	2005-01-16 23:08:43.000000000 +0100
     1.6 -+++ gcc-3.4.6/libstdc++-v3/include/ext/rope	2007-08-15 22:53:37.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-3.4.6.orig/libstdc++-v3/include/ext/ropeimpl.h gcc-3.4.6/libstdc++-v3/include/ext/ropeimpl.h
    1.18 ---- gcc-3.4.6.orig/libstdc++-v3/include/ext/ropeimpl.h	2004-09-08 15:36:04.000000000 +0200
    1.19 -+++ gcc-3.4.6/libstdc++-v3/include/ext/ropeimpl.h	2007-08-15 22:53:37.000000000 +0200
    1.20 -@@ -53,6 +53,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 - namespace __gnu_cxx
    1.28 - {
    1.29 -   using std::size_t;