commit:     17f67189cb98bcb98ec5d4c7b7a409528ee8de11
Author:     Jan-Espen Oversand <sigsegv <AT> radiotube <DOT> org>
AuthorDate: Mon Dec 22 18:04:02 2025 +0000
Commit:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
CommitDate: Mon Dec 22 18:04:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17f67189

dev-cpp/cpprestsdk: boost 1.89 removes system stub

Signed-off-by: Jan-Espen Oversand <sigsegv <AT> radiotube.org>

 ...stsdk-2.10.19-r5.ebuild => cpprestsdk-2.10.19-r7.ebuild} |  5 ++++-
 .../cpprestsdk-2.10.19-boost-1.89-system-removal.patch      | 13 +++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild 
b/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r7.ebuild
similarity index 81%
rename from dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild
rename to dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r7.ebuild
index ccf340fbd2..bcc1a1bd61 100644
--- a/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild
+++ b/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r7.ebuild
@@ -13,7 +13,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 RDEPEND=">=dev-libs/openssl-1.1.1q
-               >=dev-libs/boost-1.80.0-r1
+               >=dev-libs/boost-1.80.0-r1:=
                >=virtual/zlib-1.2.13-r1:="
 
 DEPEND="${RDEPEND}"
@@ -31,6 +31,9 @@ PATCHES=(
        "${FILESDIR}"/cpprestsdk-${PV}-disable-werror-default.patch
        "${FILESDIR}"/cpprestsdk-${PV}-boost-1.87-compat.patch
        "${FILESDIR}"/cpprestsdk-${PV}-cmake-4.patch
+       "${FILESDIR}"/cpprestsdk-${PV}-llvm-char-traits-patch.patch
+       "${FILESDIR}"/cpprestsdk-${PV}-llvm-json-unique-ptr.patch
+       "${FILESDIR}"/cpprestsdk-${PV}-boost-1.89-system-removal.patch
 )
 
 src_configure() {

diff --git 
a/dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-boost-1.89-system-removal.patch 
b/dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-boost-1.89-system-removal.patch
new file mode 100644
index 0000000000..6797db0ca1
--- /dev/null
+++ 
b/dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-boost-1.89-system-removal.patch
@@ -0,0 +1,13 @@
+https://github.com/microsoft/cpprestsdk/pull/1838
+--- a/Release/cmake/cpprestsdk-config.in.cmake.orig    2023-12-05 04:23:31 UTC
++++ b/Release/cmake/cpprestsdk-config.in.cmake
+@@ -17,7 +17,7 @@ if(@CPPREST_USES_BOOST@)
+ 
+ if(@CPPREST_USES_BOOST@)
+   if(UNIX)
+-    find_dependency(Boost COMPONENTS random system thread filesystem chrono 
atomic date_time regex)
++    find_dependency(Boost COMPONENTS random thread filesystem chrono atomic 
date_time regex)
+   else()
+     find_dependency(Boost COMPONENTS system date_time regex)
+   endif()
+

Reply via email to