summaryrefslogtreecommitdiffstats
path: root/academic
diff options
context:
space:
mode:
author Matteo Bernardini2022-11-19 09:46:49 +0100
committer Matteo Bernardini2022-11-19 09:46:49 +0100
commite99f4d18a14724754ffbcc10960e56bcc86ac8f3 (patch)
tree2824b9a71116e0a0d12e47345abb901ad9f370cd /academic
parentb54a7d46399fd01b3bf2adc2d1b4a2b429d3c6c4 (diff)
downloadslackbuilds-current.tar.gz
20221119.1 global branch merge.current-20221119.1current
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/ITK/ITK.SlackBuild23
1 files changed, 17 insertions, 6 deletions
diff --git a/academic/ITK/ITK.SlackBuild b/academic/ITK/ITK.SlackBuild
index bc13af67ce..e29c81ef7f 100644
--- a/academic/ITK/ITK.SlackBuild
+++ b/academic/ITK/ITK.SlackBuild
@@ -83,13 +83,12 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 <<'endpatch'
---- InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h.cp
-+++ InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h
-@@ -96,6 +96,39 @@
- # define VCL_GCC_81
+--- InsightToolkit-4.13.2.orig/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h 2019-02-28 17:45:49.000000000 +0100
++++ InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h 2022-08-23 13:35:27.488603000 +0200
+@@ -97,6 +97,50 @@
# else
# define VCL_GCC_80
-+# endif
+ # endif
+# elif (__GNUC__==9)
+# define VCL_GCC_9
+# if (__GNUC_MINOR__ > 2 )
@@ -122,9 +121,21 @@ patch -p1 <<'endpatch'
+# define VCL_GCC_111
+# else
+# define VCL_GCC_110
- # endif
++# endif
++# elif (__GNUC__==12)
++# define VCL_GCC_12
++# if (__GNUC_MINOR__ > 2 )
++# define VCL_GCC_123
++# elif (__GNUC_MINOR__ > 1 )
++# define VCL_GCC_122
++# elif (__GNUC_MINOR__ > 0 )
++# define VCL_GCC_121
++# else
++# define VCL_GCC_120
++# endif
# else
# error "Dunno about this gcc"
+ # endif
endpatch
sed -i "s/lib\b/lib${LIBDIRSUFFIX}/" CMakeLists.txt