git: d45fc7841b7e - main - devel/amqp-cpp: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 01 Nov 2026 18:06:23 UTC
The branch main has been updated by arrowd:

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

commit d45fc7841b7ecc26cbd836d5479bb3689cc3684a
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-11-01 18:06:05 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-11-01 18:06:05 +0000

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

diff --git a/devel/amqp-cpp/files/patch-CMakeLists.txt b/devel/amqp-cpp/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..4bcb0d3394f8
--- /dev/null
+++ b/devel/amqp-cpp/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2019-03-07 16:19:48 UTC
++++ CMakeLists.txt
+@@ -10,7 +10,7 @@
+ #       ON:  Build posix handler implementation
+ #       OFF: Don't build posix handler implementation
+ 
+-cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
+ 
+ # project name
+ project(amqpcpp)