git: 69fcb59d401e - main - devel/creduce: fix build with cmake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Sep 2026 11:20:52 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=69fcb59d401ef51f827fadc301f6bc524a6e727f
commit 69fcb59d401ef51f827fadc301f6bc524a6e727f
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-09-12 08:20:58 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-09-13 11:18:34 +0000
devel/creduce: fix build with cmake 4
Event: EuroBSDcon Devsummit 2026
---
devel/creduce/files/patch-CMakeLists.txt | 11 +++++++++++
devel/creduce/files/patch-clang__delta_CMakeLists.txt | 11 +++++++++++
devel/creduce/files/patch-clex_CMakeLists.txt | 11 +++++++++++
devel/creduce/files/patch-creduce_CMakeLists.txt | 11 +++++++++++
devel/creduce/files/patch-delta_CMakeLists.txt | 11 +++++++++++
devel/creduce/files/patch-unifdef_CMakeLists.txt | 11 +++++++++++
6 files changed, 66 insertions(+)
diff --git a/devel/creduce/files/patch-CMakeLists.txt b/devel/creduce/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..e35d9f05806a
--- /dev/null
+++ b/devel/creduce/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2026-09-12 08:07:34 UTC
++++ CMakeLists.txt
+@@ -8,7 +8,7 @@
+
+ ###############################################################################
+
+-cmake_minimum_required(VERSION 2.8.12)
++cmake_minimum_required(VERSION 3.5)
+
+ list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
+
diff --git a/devel/creduce/files/patch-clang__delta_CMakeLists.txt b/devel/creduce/files/patch-clang__delta_CMakeLists.txt
new file mode 100644
index 000000000000..5ecc4d373604
--- /dev/null
+++ b/devel/creduce/files/patch-clang__delta_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- clang_delta/CMakeLists.txt.orig 2026-09-12 08:09:55 UTC
++++ clang_delta/CMakeLists.txt
+@@ -8,7 +8,7 @@
+
+ ###############################################################################
+
+-cmake_minimum_required(VERSION 2.8.12)
++cmake_minimum_required(VERSION 3.5)
+ project(clang_delta)
+
+ ###############################################################################
diff --git a/devel/creduce/files/patch-clex_CMakeLists.txt b/devel/creduce/files/patch-clex_CMakeLists.txt
new file mode 100644
index 000000000000..74542b26b3f8
--- /dev/null
+++ b/devel/creduce/files/patch-clex_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- clex/CMakeLists.txt.orig 2026-09-12 08:10:36 UTC
++++ clex/CMakeLists.txt
+@@ -8,7 +8,7 @@
+
+ ###############################################################################
+
+-cmake_minimum_required(VERSION 2.8.12)
++cmake_minimum_required(VERSION 3.5)
+
+ # find_package(FLEX) is done by the topmost "CMakeLists.txt" file.
+
diff --git a/devel/creduce/files/patch-creduce_CMakeLists.txt b/devel/creduce/files/patch-creduce_CMakeLists.txt
new file mode 100644
index 000000000000..f133bebd1d2b
--- /dev/null
+++ b/devel/creduce/files/patch-creduce_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- creduce/CMakeLists.txt.orig 2026-09-12 08:11:11 UTC
++++ creduce/CMakeLists.txt
+@@ -8,7 +8,7 @@
+
+ ###############################################################################
+
+-cmake_minimum_required(VERSION 2.8.12)
++cmake_minimum_required(VERSION 3.5)
+
+ project(creduce_perl)
+
diff --git a/devel/creduce/files/patch-delta_CMakeLists.txt b/devel/creduce/files/patch-delta_CMakeLists.txt
new file mode 100644
index 000000000000..a58b50c4cb19
--- /dev/null
+++ b/devel/creduce/files/patch-delta_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- delta/CMakeLists.txt.orig 2026-09-12 08:11:39 UTC
++++ delta/CMakeLists.txt
+@@ -8,7 +8,7 @@
+
+ ###############################################################################
+
+-cmake_minimum_required(VERSION 2.8.12)
++cmake_minimum_required(VERSION 3.5)
+
+ # find_package(FLEX) is done by the topmost "CMakeLists.txt" file.
+
diff --git a/devel/creduce/files/patch-unifdef_CMakeLists.txt b/devel/creduce/files/patch-unifdef_CMakeLists.txt
new file mode 100644
index 000000000000..b52534cda592
--- /dev/null
+++ b/devel/creduce/files/patch-unifdef_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- unifdef/CMakeLists.txt.orig 2026-09-12 08:12:13 UTC
++++ unifdef/CMakeLists.txt
+@@ -8,7 +8,7 @@
+
+ ###############################################################################
+
+-cmake_minimum_required(VERSION 2.8.12)
++cmake_minimum_required(VERSION 3.5)
+
+ ###############################################################################
+