particl-core: add patch for miniupnpc 2.2.8
Upstream seems to regularly merge in upstream Bitcoin changes, so I haven’t bothered sending this there.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
, boost
|
||||
, db48
|
||||
, fetchFromGitHub
|
||||
, fetchpatch2
|
||||
, libevent
|
||||
, miniupnpc
|
||||
, openssl
|
||||
@@ -25,6 +26,14 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-RxkLt+7u+r5jNwEWiArTUpZ8ykYwWtvIDFXTSKhGN/w=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# upnp: fix build with miniupnpc 2.2.8
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/bitcoin/bitcoin/commit/8acdf66540834b9f9cf28f16d389e8b6a48516d5.patch?full_index=1";
|
||||
hash = "sha256-oDvHUvwAEp0LJCf6QBESn38Bu359TcPpLhvuLX3sm6M=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
buildInputs = [ openssl db48 boost zlib miniupnpc libevent zeromq unixtools.hexdump python3 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user