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-09-10 18:15:50 -04:00
parent c31898adf5
commit 34a95389bb
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

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