mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
academic/ITK: Update the internal patch for gcc 11.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
510ce5924e
commit
77fcf64581
1 changed files with 12 additions and 1 deletions
|
@ -85,7 +85,7 @@ find -L . \
|
|||
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,28 @@
|
||||
@@ -96,6 +96,39 @@
|
||||
# define VCL_GCC_81
|
||||
# else
|
||||
# define VCL_GCC_80
|
||||
|
@ -111,6 +111,17 @@ patch -p1 <<'endpatch'
|
|||
+# define VCL_GCC_101
|
||||
+# else
|
||||
+# define VCL_GCC_100
|
||||
+# endif
|
||||
+# elif (__GNUC__==11)
|
||||
+# define VCL_GCC_11
|
||||
+# if (__GNUC_MINOR__ > 2 )
|
||||
+# define VCL_GCC_113
|
||||
+# elif (__GNUC_MINOR__ > 1 )
|
||||
+# define VCL_GCC_112
|
||||
+# elif (__GNUC_MINOR__ > 0 )
|
||||
+# define VCL_GCC_111
|
||||
+# else
|
||||
+# define VCL_GCC_110
|
||||
# endif
|
||||
# else
|
||||
# error "Dunno about this gcc"
|
||||
|
|
Loading…
Reference in a new issue