From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 027CF15817D for ; Sun, 16 Jun 2024 19:37:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48BE42BC015; Sun, 16 Jun 2024 19:37:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 31E0B2BC015 for ; Sun, 16 Jun 2024 19:37:04 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5D09C33BF39 for ; Sun, 16 Jun 2024 19:37:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C88F214B0 for ; Sun, 16 Jun 2024 19:37:01 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1718566583.ed5629df8381f940de93a0e6c0b193d0e5260d04.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/airdcpp-webclient/, net-p2p/airdcpp-webclient/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.1.ebuild net-p2p/airdcpp-webclient/files/airdcpp-webclient-2.12.1-miniupnpc-2.2.8.patch X-VCS-Directories: net-p2p/airdcpp-webclient/ net-p2p/airdcpp-webclient/files/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: ed5629df8381f940de93a0e6c0b193d0e5260d04 X-VCS-Branch: master Date: Sun, 16 Jun 2024 19:37:01 +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: 4ef25398-d6b1-4325-8c2e-ac883229fe29 X-Archives-Hash: 91c69377a57176711b3aaa29d80a0cf9 commit: ed5629df8381f940de93a0e6c0b193d0e5260d04 Author: Louis Sautier gentoo org> AuthorDate: Sun Jun 16 19:29:03 2024 +0000 Commit: Louis Sautier gentoo org> CommitDate: Sun Jun 16 19:36:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed5629df net-p2p/airdcpp-webclient: fix build with miniupnpc 2.2.8, #934055 Also: * fix ebuild variable order. * enable Python 3.13. Closes: https://bugs.gentoo.org/934055 Signed-off-by: Louis Sautier gentoo.org> .../airdcpp-webclient-2.12.1.ebuild | 8 ++++++-- .../airdcpp-webclient-2.12.1-miniupnpc-2.2.8.patch | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.1.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.1.ebuild index 848b7f674f46..e6d1af1f4eed 100644 --- a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.1.ebuild +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit cmake python-any-r1 systemd @@ -11,9 +11,9 @@ DESCRIPTION="Cross-platform Direct Connect client" HOMEPAGE="https://airdcpp-web.github.io/" SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="amd64 ~riscv x86" LICENSE="GPL-2+" SLOT="0" +KEYWORDS="amd64 ~riscv x86" IUSE="debug nat-pmp +tbb +webui" RDEPEND=" @@ -38,6 +38,10 @@ BDEPEND=" " PDEPEND="webui? ( www-apps/airdcpp-webui )" +PATCHES=( + "${FILESDIR}/${P}-miniupnpc-2.2.8.patch" +) + src_configure() { local mycmakeargs=( -DENABLE_NATPMP=$(usex nat-pmp) diff --git a/net-p2p/airdcpp-webclient/files/airdcpp-webclient-2.12.1-miniupnpc-2.2.8.patch b/net-p2p/airdcpp-webclient/files/airdcpp-webclient-2.12.1-miniupnpc-2.2.8.patch new file mode 100644 index 000000000000..64dcce950d48 --- /dev/null +++ b/net-p2p/airdcpp-webclient/files/airdcpp-webclient-2.12.1-miniupnpc-2.2.8.patch @@ -0,0 +1,22 @@ +https://github.com/airdcpp/airdcpp-windows/commit/2b1cd3d05774ce8134186bb9977a45cf00aaaef5 + +From 2b1cd3d05774ce8134186bb9977a45cf00aaaef5 Mon Sep 17 00:00:00 2001 +From: maksis +Date: Thu, 13 Jun 2024 20:05:17 +0300 +Subject: [PATCH] Add support for miniupnpc 2.2.8 + +--- a/airdcpp-core/airdcpp/Mapper_MiniUPnPc.cpp ++++ b/airdcpp-core/airdcpp/Mapper_MiniUPnPc.cpp +@@ -108,7 +108,12 @@ bool Mapper_MiniUPnPc::init() { + UPNPUrls urls; + IGDdatas data; + ++#if (MINIUPNPC_API_VERSION >= 18) ++ auto ret = UPNP_GetValidIGD(devices, &urls, &data, 0, 0, nullptr, 0); ++#else + auto ret = UPNP_GetValidIGD(devices, &urls, &data, 0, 0); ++#endif ++ + + bool ok = ret == 1; + if(ok) {