Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2024 14:47:30 GMT
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2204bdcd430c - main - science/InsightToolkit501: Fix build with CMake 3.29
Message-ID:  <202405181447.44IElU0f047771@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2204bdcd430ced9d330580ca4ccd7bb1462a98b6

commit 2204bdcd430ced9d330580ca4ccd7bb1462a98b6
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-05-18 14:45:28 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-05-18 14:47:22 +0000

    science/InsightToolkit501: Fix build with CMake 3.29
    
    Support for the Comeau compiler was removed.
    
    PR:             278693
---
 ...ThirdParty_VNL_src_vxl_vcl_tests_test__preprocessor.cxx | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/science/InsightToolkit501/files/patch-Modules_ThirdParty_VNL_src_vxl_vcl_tests_test__preprocessor.cxx b/science/InsightToolkit501/files/patch-Modules_ThirdParty_VNL_src_vxl_vcl_tests_test__preprocessor.cxx
new file mode 100644
index 000000000000..cd13183d7c5f
--- /dev/null
+++ b/science/InsightToolkit501/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405181447.44IElU0f047771>