mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +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-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 = [
|
nativeBuildInputs = [
|
||||||
copyDesktopItems
|
copyDesktopItems
|
||||||
pkg-config
|
pkg-config
|
||||||
|
Loading…
Reference in New Issue
Block a user