quakespasm: fix build on Darwin (#346972)

This commit is contained in:
Emily 2024-10-07 03:18:50 +01:00 committed by GitHub
commit 10b89ee9eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
./quakespasm-darwin-makefile-improvements.patch ./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 = [ nativeBuildInputs = [
copyDesktopItems copyDesktopItems
pkg-config pkg-config