mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
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:
parent
c31898adf5
commit
34a95389bb
@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
|
||||
./quakespasm-darwin-makefile-improvements.patch
|
||||
];
|
||||
|
||||
# Quakespasm tries to set a 10.6 deployment target, but that’s too low for SDL2.
|
||||
postPatch = ''
|
||||
sed -i Makefile.darwin -e '/-mmacosx-version-min/d'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
copyDesktopItems
|
||||
pkg-config
|
||||
|
Loading…
Reference in New Issue
Block a user