summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2025-05-21 21:17:13 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2025-05-21 21:21:10 +0200
commit7a0aa6b9037939adc056757320eefa3a75581466 (patch)
treee8c24137fe60f8b0116b4bca98e0142dd181b3cd /dev-cpp
parentdd8e813fff48075097ead87aa100797cde39a35c (diff)
downloadgentoo-7a0aa6b9037939adc056757320eefa3a75581466.tar.gz
gentoo-7a0aa6b9037939adc056757320eefa3a75581466.tar.bz2
gentoo-7a0aa6b9037939adc056757320eefa3a75581466.zip
dev-cpp/websocketpp: Fix build w/ cmake-4
Closes: https://bugs.gentoo.org/953936 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/websocketpp/files/websocketpp-0.8.2-cmake4.patch23
-rw-r--r--dev-cpp/websocketpp/websocketpp-0.8.2-r1.ebuild2
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-cpp/websocketpp/files/websocketpp-0.8.2-cmake4.patch b/dev-cpp/websocketpp/files/websocketpp-0.8.2-cmake4.patch
new file mode 100644
index 000000000000..9badaeb2105d
--- /dev/null
+++ b/dev-cpp/websocketpp/files/websocketpp-0.8.2-cmake4.patch
@@ -0,0 +1,23 @@
+From deb0a334471362608958ce59a6b0bcd3e5b73c24 Mon Sep 17 00:00:00 2001
+From: Alexander Bock <mail@alexanderbock.eu>
+Date: Mon, 31 Mar 2025 22:04:07 +0200
+Subject: [PATCH] Update minimum required CMake version to comply with CMake
+ 4.0
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4f93e243a..92990c7dc 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2,7 +2,7 @@
+ ############ Setup project and cmake
+ # Minimum cmake requirement. We should require a quite recent
+ # cmake for the dependency find macros etc. to be up to date.
+-cmake_minimum_required (VERSION 2.8.8)
++cmake_minimum_required (VERSION 3.10)
+
+ ############ Paths
+
diff --git a/dev-cpp/websocketpp/websocketpp-0.8.2-r1.ebuild b/dev-cpp/websocketpp/websocketpp-0.8.2-r1.ebuild
index 34177441a2c2..2286f83eec0c 100644
--- a/dev-cpp/websocketpp/websocketpp-0.8.2-r1.ebuild
+++ b/dev-cpp/websocketpp/websocketpp-0.8.2-r1.ebuild
@@ -35,6 +35,8 @@ PATCHES=(
"${FILESDIR}/${P}-c++20-compat.patch"
# From https://github.com/zaphoyd/websocketpp/pull/1164
"${WORKDIR}/${P}-boost-1.87-compat.patch"
+ # https://github.com/zaphoyd/websocketpp/commit/deb0a334471362608958ce59a6b0bcd3e5b73c24
+ "${FILESDIR}/${P}-cmake4.patch" # bug 953936
)
src_configure() {