Unverified Commit 10b89ee9 authored by Emily's avatar Emily Committed by GitHub
Browse files

quakespasm: fix build on Darwin (#346972)

parents db451cd4 34a95389
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