git: 01596732ee5b - main - math/qhull: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 30 Sep 2026 18:12:45 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=01596732ee5ba7055631b949482dc335f6d0c565

commit 01596732ee5ba7055631b949482dc335f6d0c565
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-30 18:10:56 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-30 18:11:23 +0000

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

diff --git a/math/qhull/files/patch-CMakeLists.txt b/math/qhull/files/patch-CMakeLists.txt
index b245216a38a0..5abca8080548 100644
--- a/math/qhull/files/patch-CMakeLists.txt
+++ b/math/qhull/files/patch-CMakeLists.txt
@@ -2,6 +2,15 @@ Install docs into share/doc/ rather than include/
 
 --- CMakeLists.txt.orig	2020-09-04 01:23:31 UTC
 +++ CMakeLists.txt
+@@ -68,7 +68,7 @@ project(qhull)
+ # $DateTime: 2020/09/03 21:26:22 $$Author: bbarber $
+ 
+ project(qhull)
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.5)
+ 
+ # Define qhull_VERSION in README.txt, Announce.txt, qh-get.htm, CMakeLists.txt
+ #   qhull-zip.sh (twice), qhull-wiki.md, qhull-news.htm, File_id.diz, index.htm
 @@ -737,7 +737,7 @@ foreach(pkgconfig IN ITEMS "${qhull_SHAREDR};Qhull ree
      if(LIBRARY_NAME STREQUAL "libqhull")
          set(LIBRARY_NAME "qhull")