thomas@1461: Original patch from: ../4.3.2/290-index_macro.patch thomas@1461: thomas@1461: -= BEGIN original header =- thomas@1461: Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/uclibc/90_all_304-index_macro.patch thomas@1461: -= END original header =- thomas@1461: thomas@1461: diff -durN gcc-4.3.3.orig/libstdc++-v3/include/ext/rope gcc-4.3.3/libstdc++-v3/include/ext/rope thomas@1461: --- gcc-4.3.3.orig/libstdc++-v3/include/ext/rope 2008-07-15 12:14:51.000000000 +0200 thomas@1461: +++ gcc-4.3.3/libstdc++-v3/include/ext/rope 2009-01-27 22:25:41.000000000 +0100 thomas@1461: @@ -59,6 +59,9 @@ thomas@1461: #include thomas@1461: #include thomas@1461: thomas@1461: +/* cope w/ index defined as macro, SuSv3 proposal */ thomas@1461: +#undef index thomas@1461: + thomas@1461: # ifdef __GC thomas@1461: # define __GC_CONST const thomas@1461: # else thomas@1461: diff -durN gcc-4.3.3.orig/libstdc++-v3/include/ext/ropeimpl.h gcc-4.3.3/libstdc++-v3/include/ext/ropeimpl.h thomas@1461: --- gcc-4.3.3.orig/libstdc++-v3/include/ext/ropeimpl.h 2007-05-04 17:06:46.000000000 +0200 thomas@1461: +++ gcc-4.3.3/libstdc++-v3/include/ext/ropeimpl.h 2009-01-27 22:25:41.000000000 +0100 thomas@1461: @@ -54,6 +54,9 @@ thomas@1461: #include // For uninitialized_copy_n thomas@1461: #include // For power thomas@1461: thomas@1461: +/* cope w/ index defined as macro, SuSv3 proposal */ thomas@1461: +#undef index thomas@1461: + thomas@1461: _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) thomas@1461: thomas@1461: using std::size_t;