aboutsummaryrefslogtreecommitdiff
path: root/academic/ITK/ITK.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-08-20 13:15:59 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-25 09:59:35 +0700
commit869278e195fbf057d623bf184ca440e7e6a6166b (patch)
tree9a106d0447667601588ba9eba12b67428f584da0 /academic/ITK/ITK.SlackBuild
parentb94cf5628d60fa6fb1ecb15c0632dd78eb325eda (diff)
academic/ITK: Support for Slackware current.
Diffstat (limited to 'academic/ITK/ITK.SlackBuild')
-rw-r--r--academic/ITK/ITK.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/academic/ITK/ITK.SlackBuild b/academic/ITK/ITK.SlackBuild
index c2c5f18c714c..1a57affe1389 100644
--- a/academic/ITK/ITK.SlackBuild
+++ b/academic/ITK/ITK.SlackBuild
@@ -76,6 +76,9 @@ sed -i "s/lib\b/lib${LIBDIRSUFFIX}/" CMakeLists.txt
sed -i "s|/opj_config.h|& \$\{CMAKE_CURRENT_BINARY_DIR\}/openjpeg_mangle.h|" \
Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmopenjpeg/src/lib/openjp2/CMakeLists.txt
+# allow compilation under GCC 8
+patch -p1 Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h < $CWD/gcc8.patch
+
mkdir -p build
cd build
cmake \