git: 91a365b21379 - main - devel/hyperscan: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 07 Sep 2026 19:12:53 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=91a365b21379b024408faafe2c4734ad28074151

commit 91a365b21379b024408faafe2c4734ad28074151
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-07 19:11:25 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-07 19:11:50 +0000

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

diff --git a/devel/hyperscan/files/patch-CMakeLists.txt b/devel/hyperscan/files/patch-CMakeLists.txt
index 1007126cc4c8..ca9155b4bdd1 100644
--- a/devel/hyperscan/files/patch-CMakeLists.txt
+++ b/devel/hyperscan/files/patch-CMakeLists.txt
@@ -1,5 +1,11 @@
 --- CMakeLists.txt.orig	2017-01-20 03:16:41 UTC
 +++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 2.8.11)
++cmake_minimum_required (VERSION 3.5)
+ project (hyperscan C CXX)
+
+ set (HS_MAJOR_VERSION 5)
 @@ -1217,6 +1217,6 @@ install(TARGETS hs_shared
      LIBRARY DESTINATION lib)
  endif()