diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2024-05-07 00:57:45 -0400 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2024-05-07 05:05:20 -0400 |
commit | 35d45549fc975bcf40590c38f6aa1dec5fbb38b8 (patch) | |
tree | 7b2af9b0ad5bc867e9a422c260fa5098a3e6d018 | |
parent | ftp/unftp: New port: FTP(S) server with a couple of twists written in Rust (diff) |
science/InsightToolkit: Fix build with CMake 3.29
Support for the Comeau compiler was removed. Upstream has since updated
it's copy of VNL, which doesn't require this patch.
PR: 278693
Approved by: portmgr (blanket)
-rw-r--r-- | science/InsightToolkit/files/patch-Modules_ThirdParty_VNL_src_vxl_vcl_tests_test__preprocessor.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/science/InsightToolkit/files/patch-Modules_ThirdParty_VNL_src_vxl_vcl_tests_test__preprocessor.cxx b/science/InsightToolkit/files/patch-Modules_ThirdParty_VNL_src_vxl_vcl_tests_test__preprocessor.cxx new file mode 100644 index 000000000000..cd13183d7c5f --- /dev/null +++ b/science/InsightToolkit/files/patch-Modules_ThirdParty_VNL_src_vxl_vcl_tests_test__preprocessor.cxx @@ -0,0 +1,14 @@ +Fix build with CMake >= 3.29.0. Support for the Comeau compiler was removed. + +--- Modules/ThirdParty/VNL/src/vxl/vcl/tests/test_preprocessor.cxx.orig 2022-11-24 13:15:41 UTC ++++ Modules/ThirdParty/VNL/src/vxl/vcl/tests/test_preprocessor.cxx +@@ -9,8 +9,7 @@ int test_preprocessor_main(int /*argc*/,char* /*argv*/ + int test_preprocessor_main(int /*argc*/,char* /*argv*/[]) + { + constexpr unsigned compiler_count +- = VXL_COMPILER_IS_Comeau +- + VXL_COMPILER_IS_Intel ++ = VXL_COMPILER_IS_Intel + + VXL_COMPILER_IS_PathScale + + VXL_COMPILER_IS_Embarcadero + + VXL_COMPILER_IS_Borland |