git: 65414d545576 - main - net-p2p/uhub: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Fri, 09 Oct 2026 19:18:31 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=65414d545576889b621d85d4896b6ff6b54c99ee

commit 65414d545576889b621d85d4896b6ff6b54c99ee
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-10-09 19:18:05 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-09 19:18:24 +0000

    net-p2p/uhub: Fix building with CMake 4
---
 net-p2p/uhub/files/patch-CMakeLists.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/net-p2p/uhub/files/patch-CMakeLists.txt b/net-p2p/uhub/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..5667828ec4b2
--- /dev/null
+++ b/net-p2p/uhub/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2026-10-09 19:16:22 UTC
++++ CMakeLists.txt
+@@ -3,7 +3,7 @@
+ ## Copyright (C) 2007-2013, Jan Vidar Krey <janvidar@extatic.org>
+  #
+ 
+-cmake_minimum_required (VERSION 2.8.2)
++cmake_minimum_required (VERSION 3.5)
+ 
+ project (uhub NONE)
+ enable_language(C)