diff options
Diffstat (limited to 'sci-biology/bowtie/files/bowtie-2.2.9-fix-c++14.patch')
-rw-r--r-- | sci-biology/bowtie/files/bowtie-2.2.9-fix-c++14.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sci-biology/bowtie/files/bowtie-2.2.9-fix-c++14.patch b/sci-biology/bowtie/files/bowtie-2.2.9-fix-c++14.patch deleted file mode 100644 index cd2a67b6a52b..000000000000 --- a/sci-biology/bowtie/files/bowtie-2.2.9-fix-c++14.patch +++ /dev/null @@ -1,29 +0,0 @@ -Fix building with C++14, which errors out due to differing semantics between C++98 -and C++14 with regards to allowing destructors to throw exceptions. -See also: https://bugs.gentoo.org/show_bug.cgi?id=593966 - ---- a/blockwise_sa.h -+++ b/blockwise_sa.h -@@ -87,7 +87,11 @@ - _logger(__logger) - { } - -- virtual ~BlockwiseSA() { } -+ virtual ~BlockwiseSA() -+#if __cplusplus >= 201103L -+ noexcept(false) -+#endif -+ { } - - /** - * Get the next suffix; compute the next bucket if necessary. -@@ -216,6 +220,9 @@ - { _randomSrc.init(__seed); reset(); } - - ~KarkkainenBlockwiseSA() -+#if __cplusplus >= 201103L -+ noexcept(false) -+#endif - { - #ifdef WITH_TBB - tbb_grp.wait(); |