allegro5: fix build with cmake 4

This commit is contained in:
Colin
2025-10-07 06:23:43 +00:00
parent 14e601b1c6
commit 59f17214bd
+9
View File
@@ -4,6 +4,7 @@
cmake,
enet,
fetchFromGitHub,
fetchpatch2,
fixDarwinDylibNames,
flac,
freetype,
@@ -53,6 +54,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-agE3K+6VhhG/LO52fiesCsOq1fNYVRhdW7aKdPCbTOo=";
};
patches = [
(fetchpatch2 {
name = "Bump CMake minimum version to 3.5";
url = "https://github.com/liballeg/allegro5/commit/6e93fcaabaafd81701f4cd1b74f4b69dd598bc9b.patch?full_index=1";
hash = "sha256-IEnn66bS2m6MVFCNf341yLtd7jTl2gflL5EFJFmbEt4=";
})
];
nativeBuildInputs = [
cmake
pkg-config