From nobody Fri Jul 19 15:58:21 2024 X-Original-To: dev-commits-ports-all@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 4WQZ8Y5M4nz5RswG; Fri, 19 Jul 2024 15:58:21 +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 4WQZ8Y4V76z51c8; Fri, 19 Jul 2024 15:58:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721404701; 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=YG7nVbNF39qaA8YNRVM/R3EdJi3XPM59L2BFJpsEE4c=; b=RXPr9a+LCVoFz8PwLYquwH3QEJ5HHEg9ZrhmTLaIoUcc2OrHSqvK76w1xN+Uhblh5PRFGf 4YboiKKtkM2XHSfk48x7XFLx9EfgS6jlCfwNrY6d/LulNjNTt0S0o0SOW3HAOzc4Hs8sjv +F9S6KXOY1aWNASnef3+jSGMfzWuBoJy0utbO67AiR/OnhlIxtjstosemAjZ0rma86sCZN wYeHc89SgcpiZuF4Gairp2MZD5cb/Q9XXOfVQeh4rT6MS/+XDzUT7k6lmkR2BDjKe0tDjc PnA0h/saEjZBCMTvdYre2Yv04XHS3qkbY+6YTiVIs7rZdAUubCpMEkUrZsAq2g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721404701; a=rsa-sha256; cv=none; b=rYcI8THwRwBRf4Orv8yiehAOSfV1uasE9ywWks43Cx9bguIuw7KJ8C2diOSaLSifU7Q/zE mxRjkAmPltKF63I2SN6W/vHjq3orU0sDiECC8nT93xcrwlfQvreQq8deQqeSsBEheuZw5G 6Wu2mF2fxc9h2w/JkWkK2Sqd9KhSRecavDhnGYQT7+4QmtoYF4KgSTYK4eQMpzvFRvJ8OT 1n2f/YmZJNpBX6js+h0HZOQcy62UocQpR8ggJMXiu9wdyHI3yAmpkmxogBF+pzsCSiU+uH AE0oNSTtzJW5BfiYuIH8pAUQCjLI/QFtfPFrzyJd0OM2kJk0fBh67mT6DeYPhA== 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=1721404701; 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=YG7nVbNF39qaA8YNRVM/R3EdJi3XPM59L2BFJpsEE4c=; b=gnFevdvEx7HfAyH6N0V7p/rk/tivZ7OMDk5NVy/SYkNozq7VNpNm29a8lLM16djDxzbpC0 ibsQmU10RCMBz/1/MVOunDGycTnA/dYKrcJFw3fbyzfNRVP4213xAV50eJvMhzyFCUAldV JUWpXGe35vMZq+x8Z3Dbwx2+8ZKsjK+NUBIHhKcxMRXhWLyQpI7Xby8MkZjBP2oMgbUzCL K37316lKK8fb0pAugOe9ibV3F7h79xZKlwo+UE7offMoTd2a9gz0mJJ16bhvTYK4h2GBiO 6EKjTD6ShkxD07KMVP92xKuxmzs55ZA87OMUiMDZ/RhTvcvPhnIkH+G/Yx1bVg== 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 4WQZ8Y3yDCzf6L; Fri, 19 Jul 2024 15:58:21 +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 46JFwLhv008111; Fri, 19 Jul 2024 15:58:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46JFwLlV008108; Fri, 19 Jul 2024 15:58:21 GMT (envelope-from git) Date: Fri, 19 Jul 2024 15:58:21 GMT Message-Id: <202407191558.46JFwLlV008108@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: 8752173ea613 - main - net-p2p/retroshare: fix build with miniupnpc 2.2.8 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@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: 8752173ea61388bdfe12b38b300ff14569603634 Auto-Submitted: auto-generated The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=8752173ea61388bdfe12b38b300ff14569603634 commit 8752173ea61388bdfe12b38b300ff14569603634 Author: Dirk Meyer AuthorDate: 2024-07-19 15:58:06 +0000 Commit: Dirk Meyer CommitDate: 2024-07-19 15:58:06 +0000 net-p2p/retroshare: fix build with miniupnpc 2.2.8 PR: 280298 --- ...atch-libretroshare_src_upnp_upnphandler_miniupnp.cc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/net-p2p/retroshare/files/patch-libretroshare_src_upnp_upnphandler_miniupnp.cc b/net-p2p/retroshare/files/patch-libretroshare_src_upnp_upnphandler_miniupnp.cc new file mode 100644 index 000000000000..ea4cc7beeea9 --- /dev/null +++ b/net-p2p/retroshare/files/patch-libretroshare_src_upnp_upnphandler_miniupnp.cc @@ -0,0 +1,18 @@ +--- libretroshare/src/upnp/upnphandler_miniupnp.cc.orig 2018-03-13 19:25:38 UTC ++++ libretroshare/src/upnp/upnphandler_miniupnp.cc +@@ -116,9 +116,15 @@ bool upnphandler::initUPnPState() + device->descURL, device->st); + } + putchar('\n'); ++#if MINIUPNPC_API_VERSION >= 18 + if(UPNP_GetValidIGD(upcd->devlist, &(upcd->urls), + &(upcd->data), upcd->lanaddr, ++ sizeof(upcd->lanaddr), NULL, 0)) ++#else ++ if(UPNP_GetValidIGD(upcd->devlist, &(upcd->urls), ++ &(upcd->data), upcd->lanaddr, + sizeof(upcd->lanaddr))) ++#endif//>=18 + { + printf("Found valid IGD : %s\n", + upcd->urls.controlURL);