allegro5: fix build with cmake 4
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user