quakespasm: fix build on Darwin

QuakeSpasm tries to use a 10.6 deployment target on Darwin, which is too
old for SDL2. Use the default to fix the build.
This commit is contained in:
Randy Eckenrode
2024-10-06 21:57:53 -04:00
parent c31898adf5
commit 34a95389bb
+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