summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-biology/vaal/files/vaal-46233-libieee.patch12
-rw-r--r--sci-biology/vaal/vaal-46233-r2.ebuild3
2 files changed, 14 insertions, 1 deletions
diff --git a/sci-biology/vaal/files/vaal-46233-libieee.patch b/sci-biology/vaal/files/vaal-46233-libieee.patch
new file mode 100644
index 000000000000..9f5760c0cb14
--- /dev/null
+++ b/sci-biology/vaal/files/vaal-46233-libieee.patch
@@ -0,0 +1,12 @@
+diff -ruN vaal-46233.orig/configure.ac vaal-46233/configure.ac
+--- vaal-46233.orig/configure.ac 2018-09-29 21:58:06.059065798 +0200
++++ vaal-46233/configure.ac 2018-09-29 22:22:35.947845554 +0200
+@@ -12,7 +12,7 @@
+ AX_PTHREAD
+ AC_OPENMP
+
+-CXXFLAGS="$CXXFLAGS -std=c++11 -Wextra -Wall -Wsign-promo -Woverloaded-virtual -Wendif-labels -Wno-unused -Wno-deprecated -Wno-long-long -Wno-parentheses -fno-nonansi-builtins -mieee-fp -fno-strict-aliasing -iquote . -DNDEBUG"
++CXXFLAGS="$CXXFLAGS -std=c++11 -Wextra -Wall -Wsign-promo -Woverloaded-virtual -Wendif-labels -Wno-unused -Wno-deprecated -Wno-long-long -Wno-parentheses -fno-nonansi-builtins -fno-strict-aliasing -iquote . -DNDEBUG"
+
+ OS_RELEASE="`uname -r`"
+ AC_SUBST(CXXFLAGS)
diff --git a/sci-biology/vaal/vaal-46233-r2.ebuild b/sci-biology/vaal/vaal-46233-r2.ebuild
index 85076f330579..0ac15e6ff63b 100644
--- a/sci-biology/vaal/vaal-46233-r2.ebuild
+++ b/sci-biology/vaal/vaal-46233-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -26,6 +26,7 @@ DEPEND="
DOCS=( "${DISTDIR}/VAAL_manual.doc" )
PATCHES=(
+ "${FILESDIR}/${P}-libieee.patch"
"${WORKDIR}/${P}_remove-namespace-std.patch"
)