diff options
author | Sven Eden <sven.eden@prydeworx.com> | 2024-06-18 07:09:27 +0200 |
---|---|---|
committer | Sven Eden <sven.eden@prydeworx.com> | 2024-06-18 07:09:27 +0200 |
commit | 7b7195977557f1c6f6dcc9be94da97de685c882a (patch) | |
tree | a2cd844ce8d13f430a0c851edc6b829888421857 | |
parent | profiles/package.mask: bump sci-misc/boinc to latest pre-release (diff) | |
download | seden-7b7195977557f1c6f6dcc9be94da97de685c882a.tar.gz seden-7b7195977557f1c6f6dcc9be94da97de685c882a.tar.bz2 seden-7b7195977557f1c6f6dcc9be94da97de685c882a.zip |
net-p2p/gridcoin: Add patch for changed UPNP_GetValidIGD() signature.
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
-rw-r--r-- | net-p2p/gridcoin/files/gridcoin-5.4.8.0-fix_upnp_call.patch | 11 | ||||
-rw-r--r-- | net-p2p/gridcoin/gridcoin-5.4.8.0-r2.ebuild (renamed from net-p2p/gridcoin/gridcoin-5.4.8.0-r1.ebuild) | 4 |
2 files changed, 15 insertions, 0 deletions
diff --git a/net-p2p/gridcoin/files/gridcoin-5.4.8.0-fix_upnp_call.patch b/net-p2p/gridcoin/files/gridcoin-5.4.8.0-fix_upnp_call.patch new file mode 100644 index 0000000..7583b6b --- /dev/null +++ b/net-p2p/gridcoin/files/gridcoin-5.4.8.0-fix_upnp_call.patch @@ -0,0 +1,11 @@ +--- a/src/net.cpp 2024-06-14 12:31:22.686604342 +0200 ++++ b/src/net.cpp 2024-06-14 12:32:33.422604941 +0200 +@@ -1167,7 +1167,7 @@ + struct IGDdatas data; + int r; + +- r = UPNP_GetValidIGD(devlist, &urls, &data, lanaddr, sizeof(lanaddr)); ++ r = UPNP_GetValidIGD(devlist, &urls, &data, nullptr, 0, lanaddr, sizeof(lanaddr)); + if (r == 1) + { + if (fDiscover) { diff --git a/net-p2p/gridcoin/gridcoin-5.4.8.0-r1.ebuild b/net-p2p/gridcoin/gridcoin-5.4.8.0-r2.ebuild index bcf5c3f..15fd6b2 100644 --- a/net-p2p/gridcoin/gridcoin-5.4.8.0-r1.ebuild +++ b/net-p2p/gridcoin/gridcoin-5.4.8.0-r2.ebuild @@ -55,6 +55,10 @@ DEPEND=" qt5? ( dev-qt/linguist-tools:5 ) " +PATCHES=( + "${FILESDIR}"/${P}-fix_upnp_call.patch +) + pkg_setup() { BDB_VER="$(best_version sys-libs/db:5.3)" export BDB_CFLAGS="-I/usr/include/db${BDB_VER:12:3}" |