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
|
@ -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 New Issue