git: 278af1c3db8f - main - net/nanomsg: fix build with cmake 4

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 13 Sep 2026 11:20:46 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=278af1c3db8f404d267ca7db511a77e237d35ea4

commit 278af1c3db8f404d267ca7db511a77e237d35ea4
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-09-11 15:30:26 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-09-13 11:18:33 +0000

    net/nanomsg: fix build with cmake 4
    
     - adjust maintainer e-mail to the one he uses for his other ports
    
    Approved by:    crest@rlwinm.de (maintainer)
    Event:          EuroBSDcon Devsummit 2026
---
 net/nanomsg/Makefile                   |  2 +-
 net/nanomsg/files/patch-CMakeLists.txt | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/net/nanomsg/Makefile b/net/nanomsg/Makefile
index 5a567bc18a7c..04f6944528c1 100644
--- a/net/nanomsg/Makefile
+++ b/net/nanomsg/Makefile
@@ -3,7 +3,7 @@ PORTVERSION=	1.1.5
 PORTREVISION=	3
 CATEGORIES=	net
 
-MAINTAINER=	crest@bultmann.eu
+MAINTAINER=	crest@rlwinm.de
 COMMENT=	Socket library that provides several common communication patterns
 WWW=		https://nanomsg.org/
 
diff --git a/net/nanomsg/files/patch-CMakeLists.txt b/net/nanomsg/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..a545d21a1266
--- /dev/null
+++ b/net/nanomsg/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2026-09-11 15:29:08 UTC
++++ CMakeLists.txt
+@@ -24,7 +24,7 @@
+ #   IN THE SOFTWARE.
+ #
+ 
+-cmake_minimum_required (VERSION 2.8.12)
++cmake_minimum_required (VERSION 3.5)
+ 
+ project (nanomsg C)
+ include (CheckFunctionExists)