alephone: add patch for miniupnpc 2.2.8

This commit is contained in:
Emily 2024-07-11 14:32:20 +01:00
parent 5a149dad34
commit de9db75cb0

View File

@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchpatch2,
alsa-lib,
boost,
curl,
@ -48,6 +49,15 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-IUvMfG4jtN/QXq4DQIDuI0+Bl3MSSwDGKOyjfcRWgvE=";
};
patches = [
# Fix build with miniupnpc 2.2.8
# https://github.com/Aleph-One-Marathon/alephone/pull/503
(fetchpatch2 {
url = "https://github.com/Aleph-One-Marathon/alephone/commit/e25c4bc1ac02619e811b8f19bf4c2f617550e124.patch?full_index=1";
hash = "sha256-BFLLSTjNl/+/kVb+t6EyW1jhAlKN/G+Q99TICV9VHOY=";
})
];
nativeBuildInputs = [
pkg-config
icoutils