summaryrefslogtreecommitdiff
path: root/academic/ITK
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-09-06 22:17:20 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-09-08 08:37:51 +0700
commit20d6873f043603f695f1df600e98584cbc842a3a (patch)
treea5b0a0abbd9023153b404cf4d6b7099fbfb2e07f /academic/ITK
parentf22197f7a820063fa72b59352c0c5bff9b608b3c (diff)
downloadslackbuilds-20d6873f043603f695f1df600e98584cbc842a3a.tar.gz
academic/ITK: Updated for version 4.13.1.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'academic/ITK')
-rw-r--r--academic/ITK/ITK.SlackBuild5
-rw-r--r--academic/ITK/ITK.info6
-rw-r--r--academic/ITK/gcc8.patch34
3 files changed, 4 insertions, 41 deletions
diff --git a/academic/ITK/ITK.SlackBuild b/academic/ITK/ITK.SlackBuild
index 1a57affe13..2bffadf6d9 100644
--- a/academic/ITK/ITK.SlackBuild
+++ b/academic/ITK/ITK.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=ITK
SRCNAM=InsightToolkit
-VERSION=${VERSION:-4.13.0}
+VERSION=${VERSION:-4.13.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,9 +76,6 @@ 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 \
diff --git a/academic/ITK/ITK.info b/academic/ITK/ITK.info
index f8553eed3e..fd6573bc1d 100644
--- a/academic/ITK/ITK.info
+++ b/academic/ITK/ITK.info
@@ -1,8 +1,8 @@
PRGNAM="ITK"
-VERSION="4.13.0"
+VERSION="4.13.1"
HOMEPAGE="https://itk.org"
-DOWNLOAD="https://sourceforge.net/projects/itk/files/itk/4.13/InsightToolkit-4.13.0.tar.xz"
-MD5SUM="3badf70cfb0093054453f66c5974c5a4"
+DOWNLOAD="https://sourceforge.net/projects/itk/files/itk/4.13/InsightToolkit-4.13.1.tar.xz"
+MD5SUM="bc7296e7faccdcb5656a7669d4d875d2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="double-conversion gtest hdf5"
diff --git a/academic/ITK/gcc8.patch b/academic/ITK/gcc8.patch
deleted file mode 100644
index 63ea05ebde..0000000000
--- a/academic/ITK/gcc8.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 2662860491ff44a16e01581a6b3727d53997fee8 Mon Sep 17 00:00:00 2001
-From: Pablo Hernandez-Cerdan <pablo.hernandez.cerdan@outlook.com>
-Date: Tue, 15 May 2018 16:17:01 -0400
-Subject: [PATCH] COMP: Add gcc8 support to vcl_compiler.
-
-It just adds a if/else branch to the existing logic.
-
-Triggered here: https://discourse.itk.org/t/building-and-compiling-with-gcc-8-1/934/4
----
- vcl/vcl_compiler.h | 11 +++++++++++
- 1 file changed, 11 insertions(+)
-
-diff --git a/vcl/vcl_compiler.h b/vcl/vcl_compiler.h
-index 6a3f2e2152..5ca624603d 100644
---- a/vcl/vcl_compiler.h
-+++ b/vcl/vcl_compiler.h
-@@ -86,6 +86,17 @@
- # else
- # define VCL_GCC_70
- # endif
-+# elif (__GNUC__==8)
-+# define VCL_GCC_8
-+# if (__GNUC_MINOR__ > 2 )
-+# define VCL_GCC_83
-+# elif (__GNUC_MINOR__ > 1 )
-+# define VCL_GCC_82
-+# elif (__GNUC_MINOR__ > 0 )
-+# define VCL_GCC_81
-+# else
-+# define VCL_GCC_80
-+# endif
- # else
- # error "Dunno about this gcc"
- # endif