git: 2f543da7432c - main - math/clblas: Fix CMake version

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 06 Sep 2026 16:18:05 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f543da7432ce078992602ff1a4c105cd32e2430

commit 2f543da7432ce078992602ff1a4c105cd32e2430
Author:     Florian Limberger <flo@purplekraken.com>
AuthorDate: 2026-09-05 16:08:10 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-09-06 16:17:01 +0000

    math/clblas: Fix CMake version
    
    Event:          Berlin Hackathon 202609
---
 math/clblas/files/patch-src_CMakeLists.txt                    | 11 +++++++++++
 .../files/patch-src_library_tools_tplgen_CMakeLists.txt       | 11 +++++++++++
 2 files changed, 22 insertions(+)

diff --git a/math/clblas/files/patch-src_CMakeLists.txt b/math/clblas/files/patch-src_CMakeLists.txt
new file mode 100644
index 000000000000..c2651b6e7a7f
--- /dev/null
+++ b/math/clblas/files/patch-src_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- src/CMakeLists.txt.orig	2026-09-05 15:51:17 UTC
++++ src/CMakeLists.txt
+@@ -14,7 +14,7 @@
+ # limitations under the License.
+ # ########################################################################
+ 
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 3.10)
+ 
+ #User toggle-able options that can be changed on the command line with -D
+ option( BUILD_RUNTIME "Build the BLAS runtime library" ON )
diff --git a/math/clblas/files/patch-src_library_tools_tplgen_CMakeLists.txt b/math/clblas/files/patch-src_library_tools_tplgen_CMakeLists.txt
new file mode 100644
index 000000000000..41ede3a2c356
--- /dev/null
+++ b/math/clblas/files/patch-src_library_tools_tplgen_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- src/library/tools/tplgen/CMakeLists.txt.orig	2026-09-06 00:04:31 UTC
++++ src/library/tools/tplgen/CMakeLists.txt
+@@ -14,7 +14,7 @@
+ # limitations under the License.
+ # ########################################################################
+ 
+-cmake_minimum_required(VERSION 2.6)
++cmake_minimum_required(VERSION 3.10)
+ project(tplgen C CXX)
+ ADD_DEFINITIONS(/D_CRT_SECURE_NO_WARNINGS)
+ ADD_EXECUTABLE(tplgen tplgen.cpp)