diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/cdd+/files/cdd+-077a-gcc-5.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/cdd+/files/cdd+-077a-gcc-5.patch')
-rw-r--r-- | sci-libs/cdd+/files/cdd+-077a-gcc-5.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sci-libs/cdd+/files/cdd+-077a-gcc-5.patch b/sci-libs/cdd+/files/cdd+-077a-gcc-5.patch new file mode 100644 index 000000000000..cd2d32a8a31b --- /dev/null +++ b/sci-libs/cdd+/files/cdd+-077a-gcc-5.patch @@ -0,0 +1,14 @@ +Fix check for GCC version beyond major version 4. +Gentoo bug #569222 + +--- cdd+-077a/gmp_init.cc ++++ cdd+-077a/gmp_init.cc +@@ -31,7 +31,7 @@ + # define pm_gmp_reallocate std::__alloc::reallocate + #endif // gcc 3.3 + +-#if __GNUC__==3 && __GNUC_MINOR__==4 || __GNUC__==4 ++#if __GNUC__==3 && __GNUC_MINOR__==4 || __GNUC__>=4 + # include <ext/pool_allocator.h> + + namespace { |