diff options
-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}" |