Unverified Commit 34a95389 authored by Randy Eckenrode's avatar Randy Eckenrode
Browse files

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.
parent c31898ad
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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