diff options
author | Elvis Dowson <elvis.dowson@gmail.com> | 2013-03-29 12:23:09 +0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-22 14:43:46 +0100 |
commit | 16ab55220c4b602a8406c7a4405c737caae5907b (patch) | |
tree | a3bd1a0d5a636143a9c1d56703ba9d424ce0067d /meta/recipes-devtools/gcc/gcc-4.8/0011-index_macro.patch | |
parent | c850415a1bdbb9268114d90fd0fc4cb3479de9c5 (diff) | |
download | openembedded-core-16ab55220c4b602a8406c7a4405c737caae5907b.tar.gz openembedded-core-16ab55220c4b602a8406c7a4405c737caae5907b.tar.bz2 openembedded-core-16ab55220c4b602a8406c7a4405c737caae5907b.zip |
gcc-4.8: Refactor gcc-4.8.0 patch files.
Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.8/0011-index_macro.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.8/0011-index_macro.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.8/0011-index_macro.patch b/meta/recipes-devtools/gcc/gcc-4.8/0011-index_macro.patch new file mode 100644 index 0000000000..8ee79b09b4 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.8/0011-index_macro.patch @@ -0,0 +1,44 @@ +From b037953e40312b45ab84ed0a3ad882bb5e413101 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Fri, 29 Mar 2013 08:51:02 +0400 +Subject: [PATCH 11/35] index_macro + +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +Upstream-Status: Pending +--- + libstdc++-v3/include/ext/rope | 3 +++ + libstdc++-v3/include/ext/ropeimpl.h | 3 +++ + 2 files changed, 6 insertions(+) + +diff --git a/libstdc++-v3/include/ext/rope b/libstdc++-v3/include/ext/rope +index 38eb1e8..158d21a 100644 +--- a/libstdc++-v3/include/ext/rope ++++ b/libstdc++-v3/include/ext/rope +@@ -55,6 +55,9 @@ + #include <bits/gthr.h> + #include <tr1/functional> + ++/* cope w/ index defined as macro, SuSv3 proposal */ ++#undef index ++ + # ifdef __GC + # define __GC_CONST const + # else +diff --git a/libstdc++-v3/include/ext/ropeimpl.h b/libstdc++-v3/include/ext/ropeimpl.h +index d7b5cbd..b9b3acb 100644 +--- a/libstdc++-v3/include/ext/ropeimpl.h ++++ b/libstdc++-v3/include/ext/ropeimpl.h +@@ -48,6 +48,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 _GLIBCXX_VISIBILITY(default) + { + _GLIBCXX_BEGIN_NAMESPACE_VERSION +-- +1.7.10.4 + |