summaryrefslogtreecommitdiff
path: root/dev-cpp/cpprestsdk
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/cpprestsdk')
-rw-r--r--dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild (renamed from dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r3.ebuild)4
-rw-r--r--dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-cmake-4.patch26
2 files changed, 29 insertions, 1 deletions
diff --git a/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r3.ebuild b/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild
index 539da2c504bc..057af0b4a17d 100644
--- a/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r3.ebuild
+++ b/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -29,6 +29,8 @@ PATCHES=(
"${FILESDIR}"/cpprestsdk-${PV}-warnings.patch
"${FILESDIR}"/cpprestsdk-${PV}-disabl-int-tests.patch
"${FILESDIR}"/cpprestsdk-${PV}-disable-werror-default.patch
+ "${FILESDIR}"/cpprestsdk-${PV}-boost-1.87-compat.patch
+ "${FILESDIR}"/cpprestsdk-${PV}-cmake-4.patch
)
src_configure() {
diff --git a/dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-cmake-4.patch b/dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-cmake-4.patch
new file mode 100644
index 000000000000..32a337978bc5
--- /dev/null
+++ b/dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-cmake-4.patch
@@ -0,0 +1,26 @@
+--- a/Build_iOS/CMakeLists.txt
++++ b/Build_iOS/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ project(casablanca-ios NONE)
+-cmake_minimum_required(VERSION 3.9)
++cmake_minimum_required(VERSION 3.10)
+
+ enable_testing()
+
+--- a/Release/CMakeLists.txt
++++ b/Release/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ set(CMAKE_LEGACY_CYGWIN_WIN32 0)
+-cmake_minimum_required(VERSION 3.9)
++cmake_minimum_required(VERSION 3.10)
+ if(POLICY CMP0042)
+ cmake_policy(SET CMP0042 NEW) # use MACOSX_RPATH
+ endif()
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.9)
++cmake_minimum_required(VERSION 3.10)
+ project(cpprestsdk-root NONE)
+ enable_testing()
+ add_subdirectory(Release)