diff options
Diffstat (limited to 'academic/ITK')
-rw-r--r-- | academic/ITK/ITK.SlackBuild | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/academic/ITK/ITK.SlackBuild b/academic/ITK/ITK.SlackBuild index b7a02d83e46a1..afeb3068c80cc 100644 --- a/academic/ITK/ITK.SlackBuild +++ b/academic/ITK/ITK.SlackBuild @@ -75,6 +75,30 @@ find -L . \ 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 +patch -p1 <<'endpatch' +diff --git a/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h b/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h +index 4865361421e..220b9cd49a8 100644 +--- a/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h ++++ b/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h +@@ -97,6 +97,17 @@ + # else + # define VCL_GCC_80 + # endif ++# elif (__GNUC__==9) ++# define VCL_GCC_9 ++# if (__GNUC_MINOR__ > 2 ) ++# define VCL_GCC_93 ++# elif (__GNUC_MINOR__ > 1 ) ++# define VCL_GCC_92 ++# elif (__GNUC_MINOR__ > 0 ) ++# define VCL_GCC_91 ++# else ++# define VCL_GCC_90 ++# endif + # else + # error "Dunno about this gcc" + # endif +endpatch mkdir -p build cd build |