elements: 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:
parent
ca39d29fca
commit
9511ce9566
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch2
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, util-linux
|
, util-linux
|
||||||
@ -33,6 +34,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-qHtSgfZGZ4Beu5fsJAOZm8ejj7wfHBbOS6WAjOrCuw4=";
|
sha256 = "sha256-qHtSgfZGZ4Beu5fsJAOZm8ejj7wfHBbOS6WAjOrCuw4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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 =
|
nativeBuildInputs =
|
||||||
[ autoreconfHook pkg-config ]
|
[ autoreconfHook pkg-config ]
|
||||||
++ lib.optionals stdenv.isLinux [ util-linux ]
|
++ lib.optionals stdenv.isLinux [ util-linux ]
|
||||||
|
Loading…
Reference in New Issue
Block a user