git: 5efca3fca810 - main - security/libnitrokey: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Tue, 15 Sep 2026 16:13:45 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5efca3fca8107beb0a5eb81f1bde7d323f0ef239

commit 5efca3fca8107beb0a5eb81f1bde7d323f0ef239
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-15 16:11:55 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-15 16:12:26 +0000

    security/libnitrokey: Fix building with CMake 4
    
    Approved by:    portmgr (fixit blanket)
---
 security/libnitrokey/files/patch-CMakeLists.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/security/libnitrokey/files/patch-CMakeLists.txt b/security/libnitrokey/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..08e599bcf9e6
--- /dev/null
+++ b/security/libnitrokey/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2022-04-27 12:35:24 UTC
++++ CMakeLists.txt
+@@ -3,7 +3,7 @@ ENDIF()
+     SET(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON)
+ ENDIF()
+ 
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.5)
+ IF (UNIX)
+     OPTION(ADD_ASAN "Use ASAN to show memory issues" FALSE)
+     OPTION(ADD_TSAN "Use TSAN to show thread issues" FALSE)