From nobody Fri Jul 19 15:46:15 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WQYtc2Jx3z5RrxM; Fri, 19 Jul 2024 15:46:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WQYtc0YSyz50Tt; Fri, 19 Jul 2024 15:46:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721403976; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Cuk9q+XM/cJHrgU3MwqArwo2nU636YwR+KTli8rg/+o=; b=gL+iYfogpMxWNMe0e9LDmWFIRhuYOKtoOC6/eO3zGhMbm13PQOlaSZg4CMCZ5oznnIINpH aqYxTX/++4QL3BLR4Mu3fWp35CK2PNif0rOLX4I5gKYFRRK5VU6iDDd639t8Fpr45Boh5A vubn9pweh9YDSlGt4IXGJx+42Xj75/FiSgVwN6qcCtjJdT4+1yN1oF+FYkHvFS+9WPelRY i863hes8C3JcToXVdiTu1SGUAo3AFvH9ERP4uYuCRIu8WoD767e+TW/CW1SeCKIENbipNN t5KRx+NZdDA25k0jKzChwjIpkd1mNzD1UiV5+Pl3o2/b+T1XDvZuwwEHfTCuEg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721403976; a=rsa-sha256; cv=none; b=qEHxogypW5WY+ZkO6XiM8S+A7rgwqLLuEDvJBelMNph7fnAqCfiMpykHSn8NWwwxy1EJbY 8XuXPUbuNXKjSW9Xu5zjAZ75RKLGozKU6qFFMGYh4vtJNlmjzCLwpcVOvvHepZJWdLKjXG O4Ua8795CP82j+N7dDvifQu9k8im6ilA4QqV4Vi419xhQfipK09qi2553VXM8aeVEFs6tf guJ9jD8h1hx5tXP9WJwXt8Ut50WEWb+SNV5fHd+RflfL3g6I3lFON8GtYKauL5rzGKc3Vw t5Z94XpA9IOjE0pWiZCeCwtWHjyDT//ZFho7fjwQrNdlmu2NDm5K11dMslb5nA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721403976; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Cuk9q+XM/cJHrgU3MwqArwo2nU636YwR+KTli8rg/+o=; b=KSq4SEPlH4oVEYX9n2/9Vyl0VUrzn4YKHdBBAiRnOMND0pAUH5m2ZhhU+ZKiDEZOe8PBZO i+IoT+m6kLVlfXP/3FhGb0f6/a/ktN0BX79ZJfGEodJJy5LyGuoM3eYYvGSXUbkXCPmH+v E636cv7Gh637FsodvBh7yV01ufTnfT93Au6+WarNDpjkgx+8WhKFDa/1Abs7BoB/WsGPYW YY4ffJhWBJDPnDU1B+TXeFAutyI0l8kriudXqwFTdYywSgn6qs5os0XTe8ww1CIHOT3mvk t8AHkULLdItojNLQ5fa+/CNBT1m9n/NWkdPz9UQn1+oa8yoQD3Qj2YFlfaon/g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WQYtc031qzdgN; Fri, 19 Jul 2024 15:46:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46JFkFhr090807; Fri, 19 Jul 2024 15:46:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46JFkFT0090804; Fri, 19 Jul 2024 15:46:15 GMT (envelope-from git) Date: Fri, 19 Jul 2024 15:46:15 GMT Message-Id: <202407191546.46JFkFT0090804@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dirk Meyer Subject: git: 658883b83bbe - main - net-p2p/namecoin: fix build with miniupnpc 2.2.8 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dinoex X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 658883b83bbeaa49b6f937b3acdf2a26a0a41145 Auto-Submitted: auto-generated The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=658883b83bbeaa49b6f937b3acdf2a26a0a41145 commit 658883b83bbeaa49b6f937b3acdf2a26a0a41145 Author: Dirk Meyer AuthorDate: 2024-07-19 15:46:04 +0000 Commit: Dirk Meyer CommitDate: 2024-07-19 15:46:04 +0000 net-p2p/namecoin: fix build with miniupnpc 2.2.8 PR: 280298 --- net-p2p/namecoin/files/patch-src_mapport.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/net-p2p/namecoin/files/patch-src_mapport.cpp b/net-p2p/namecoin/files/patch-src_mapport.cpp new file mode 100644 index 000000000000..7dbe49316e33 --- /dev/null +++ b/net-p2p/namecoin/files/patch-src_mapport.cpp @@ -0,0 +1,14 @@ +--- src/mapport.cpp.orig 2022-11-21 07:35:21 UTC ++++ src/mapport.cpp +@@ -169,7 +169,11 @@ static bool ProcessUpnp() + struct IGDdatas data; + int r; + ++#if MINIUPNPC_API_VERSION >= 18 ++ r = UPNP_GetValidIGD(devlist, &urls, &data, lanaddr, sizeof(lanaddr), NULL, 0); ++#else + r = UPNP_GetValidIGD(devlist, &urls, &data, lanaddr, sizeof(lanaddr)); ++#endif + if (r == 1) + { + if (fDiscover) {