git: e1216b51daea - main - math/flann: fix build with cmake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Sep 2026 11:20:45 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e1216b51daead7a410dfe5d112ecf3c1904b2827
commit e1216b51daead7a410dfe5d112ecf3c1904b2827
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-09-11 15:23:43 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-09-13 11:18:32 +0000
math/flann: fix build with cmake 4
Approved by: portmgr (build fix blanket)
Event: EuroBSDcon Devsummit 2026
---
math/flann/files/patch-CMakeLists.txt | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/math/flann/files/patch-CMakeLists.txt b/math/flann/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..d4bb958af751
--- /dev/null
+++ b/math/flann/files/patch-CMakeLists.txt
@@ -0,0 +1,8 @@
+--- CMakeLists.txt.orig 2026-09-11 15:04:11 UTC
++++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.6)
++cmake_minimum_required(VERSION 3.5)
+
+ if(COMMAND cmake_policy)
+ cmake_policy(SET CMP0003 NEW)