summarylogtreecommitdiffstats
path: root/fix_vlc_gcc9.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix_vlc_gcc9.patch')
-rw-r--r--fix_vlc_gcc9.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/fix_vlc_gcc9.patch b/fix_vlc_gcc9.patch
new file mode 100644
index 00000000000..3a08c0c5b0a
--- /dev/null
+++ b/fix_vlc_gcc9.patch
@@ -0,0 +1,21 @@
+--- 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,17 @@
+ # define VCL_GCC_81
+ # 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"
+