chiaki4deck: add patch for miniupnpc 2.2.8

This commit is contained in:
Emily 2024-07-11 19:28:29 +01:00
parent c5ff20436e
commit ca39d29fca

View File

@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, fetchpatch2
, stdenv
, cmake
, pkg-config
@ -45,6 +46,15 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
patches = [
# Fix build with miniupnpc 2.2.8
# https://github.com/streetpea/chiaki4deck/pull/355
(fetchpatch2 {
url = "https://github.com/streetpea/chiaki4deck/commit/e5806ae39cc6e8632d0f8cccefb5b7ddd458951a.patch?full_index=1";
hash = "sha256-0oGhymCZkhckJkvP64WNc4aaEzXlXYI84S7Blq7WgVw=";
})
];
nativeBuildInputs = [
cmake
pkg-config