acc: fix build with cmake 4 (#449710)

This commit is contained in:
Fernando Rodrigues
2025-10-09 00:40:07 +00:00
committed by GitHub
+11
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -18,6 +19,16 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
# Don't force static builds
./disable-static.patch
(fetchpatch {
name = "cmake-fix-1";
url = "https://github.com/ZDoom/acc/commit/a0e7d2437c7f66a2b973537c2e854e2b91cd9c4c.patch";
hash = "sha256-n+YctiUFYbv6u3ixB5wTsT8KBmearECoUtC74OpoG6c=";
})
(fetchpatch {
name = "cmake-fix-2";
url = "https://github.com/ZDoom/acc/commit/df6a2735acccad9131ce73fa07506445cfe69ec2.patch";
hash = "sha256-DFMxZ8/Shv+tBSPXdhaPI1iTi1fbng/IMO//0Jk4Lk4=";
})
];
nativeBuildInputs = [ cmake ];