From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 638D915807A for ; Fri, 06 Jun 2025 13:17:41 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4E20E3430D8 for ; Fri, 06 Jun 2025 13:17:41 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4767E1102BE; Fri, 06 Jun 2025 13:17:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 381E71102BE for ; Fri, 06 Jun 2025 13:17:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 71A863430D8 for ; Fri, 06 Jun 2025 13:17:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8ABAB87 for ; Fri, 06 Jun 2025 13:17:37 +0000 (UTC) From: "Jan-Espen Oversand" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jan-Espen Oversand" Message-ID: <1749215840.ef44432e15e1d778bc7231165b17d04ede179570.sigsegv@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/cpprestsdk/, dev-cpp/cpprestsdk/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild dev-cpp/cpprestsdk/files/cpprestsdk-2.10.19-cmake-4.patch X-VCS-Directories: dev-cpp/cpprestsdk/ dev-cpp/cpprestsdk/files/ X-VCS-Committer: sigsegv X-VCS-Committer-Name: Jan-Espen Oversand X-VCS-Revision: ef44432e15e1d778bc7231165b17d04ede179570 X-VCS-Branch: dev Date: Fri, 06 Jun 2025 13:17:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 21220e12-045d-4053-8eda-6e4e509ab2ce X-Archives-Hash: 07a8bf12b4dea9b2bdd21f57c76dc705 commit: ef44432e15e1d778bc7231165b17d04ede179570 Author: Jan-Espen Oversand radiotube org> AuthorDate: Fri Jun 6 13:17:20 2025 +0000 Commit: Jan-Espen Oversand radiotube org> CommitDate: Fri Jun 6 13:17:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef44432e dev-cpp/cpprestsdk: cmake 4 patch Signed-off-by: Jan-Espen Oversand radiotube.org> dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild | 39 ++++++++++++++++++++++ .../files/cpprestsdk-2.10.19-cmake-4.patch | 26 +++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild b/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild new file mode 100644 index 0000000000..057af0b4a1 --- /dev/null +++ b/dev-cpp/cpprestsdk/cpprestsdk-2.10.19-r5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A Microsoft project for cloud-based client-server communication." +HOMEPAGE="https://github.com/microsoft/cpprestsdk" +SRC_URI="https://github.com/microsoft/cpprestsdk/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-libs/openssl-1.1.1q + >=dev-libs/boost-1.80.0-r1 + >=sys-libs/zlib-1.2.13-r1" + +DEPEND="${RDEPEND}" + +BDEPEND=" + app-alternatives/ninja + >=sys-devel/gcc-11.3.0 + >=virtual/pkgconfig-2-r1 + >=dev-cpp/websocketpp-0.8.2 +" + +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() { + local mycmakeargs=( -DCMAKE_BUILD_TYPE=Release ) + cmake_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 0000000000..32a337978b --- /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)