diff options
Diffstat (limited to 'sci-chemistry/sparky/files/3.115-fix-c++14.patch')
-rw-r--r-- | sci-chemistry/sparky/files/3.115-fix-c++14.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/sci-chemistry/sparky/files/3.115-fix-c++14.patch b/sci-chemistry/sparky/files/3.115-fix-c++14.patch deleted file mode 100644 index 3a05ea7d85ce..000000000000 --- a/sci-chemistry/sparky/files/3.115-fix-c++14.patch +++ /dev/null @@ -1,32 +0,0 @@ -Fix the custom new/new[] operators in order to account for changed -noexcept semantics in C++11. -See also: https://bugs.gentoo.org/show_bug.cgi?id=596012 - -Patch by Peter Levine - ---- a/c++/memalloc.cc -+++ b/c++/memalloc.cc -@@ -39,7 +39,10 @@ - - // ---------------------------------------------------------------------------- - // --void *operator new(size_t size) throw(std::bad_alloc) -+void *operator new(size_t size) -+#if __cplusplus < 201103L -+throw(std::bad_alloc) -+#endif - { - void *value = allocate(size); - if (tracking_memory) -@@ -72,7 +75,10 @@ - - // ---------------------------------------------------------------------------- - // --void *operator new[](size_t size) throw(std::bad_alloc) -+void *operator new[](size_t size) -+#if __cplusplus < 201103L -+throw(std::bad_alloc) -+#endif - { - void *value = allocate(size); - if (tracking_memory) |