quakespasm: fix build on Darwin (#346972)

This commit is contained in:
Emily
2024-10-07 03:18:50 +01:00
committed by GitHub
+5
View File
@@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
./quakespasm-darwin-makefile-improvements.patch
];
# Quakespasm tries to set a 10.6 deployment target, but thats too low for SDL2.
postPatch = ''
sed -i Makefile.darwin -e '/-mmacosx-version-min/d'
'';
nativeBuildInputs = [
copyDesktopItems
pkg-config