aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorea Christian <chr@chymera.eu>2020-06-19 01:30:09 -0400
committerHorea Christian <chr@chymera.eu>2020-06-19 01:30:09 -0400
commitbb46a3101c02d7fa039c78fa666d4d35d5e32989 (patch)
tree13c8efbd1e57919f78064496fe8935953fda4550
parentsci-libs/pytorch: do not rerun compile during install. (diff)
downloadsci-bb46a3101c02d7fa039c78fa666d4d35d5e32989.tar.gz
sci-bb46a3101c02d7fa039c78fa666d4d35d5e32989.tar.bz2
sci-bb46a3101c02d7fa039c78fa666d4d35d5e32989.zip
sci-biology/fsl: gcc compatibility
Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Horea Christian <chr@chymera.eu>
-rw-r--r--sci-biology/fsl/files/fsl-6.0.2-gcc10_include.patch10
-rw-r--r--sci-biology/fsl/fsl-6.0.2.ebuild1
2 files changed, 11 insertions, 0 deletions
diff --git a/sci-biology/fsl/files/fsl-6.0.2-gcc10_include.patch b/sci-biology/fsl/files/fsl-6.0.2-gcc10_include.patch
new file mode 100644
index 000000000..9ddb11a2b
--- /dev/null
+++ b/sci-biology/fsl/files/fsl-6.0.2-gcc10_include.patch
@@ -0,0 +1,10 @@
+--- a/src/newimage/newimageio.h 2020-06-18 06:05:51.287864975 -0400
++++ b/src/newimage/newimageio.h 2020-06-18 06:06:27.535129711 -0400
+@@ -75,6 +75,7 @@
+ #include <iostream>
+ #include <fstream>
+ #include <sstream>
++#include <stdexcept>
+ #include "NewNifti/NewNifti.h"
+ #include "newmatio.h"
+ #include "newimage.h"
diff --git a/sci-biology/fsl/fsl-6.0.2.ebuild b/sci-biology/fsl/fsl-6.0.2.ebuild
index cde479421..07bc454ce 100644
--- a/sci-biology/fsl/fsl-6.0.2.ebuild
+++ b/sci-biology/fsl/fsl-6.0.2.ebuild
@@ -35,6 +35,7 @@ S=${WORKDIR}/${PN}
UPSTREAM_FSLDIR="/usr/share/fsl"
PATCHES=(
+ "${FILESDIR}/${PN}"-6.0.2-gcc10_include.patch
"${FILESDIR}/${PN}"-6.0.2-setup.patch
"${FILESDIR}/${PN}"-6.0.2-no_xmlpp.patch
"${FILESDIR}/${PN}"-5.0.11-niftiio_var_fix.patch