superTuxKart: fix broken build

(cherry picked from commit a59375340407e5309bb3516c1da3aba1ea2d6930)
This commit is contained in:
Aaron Andersen 2019-03-06 15:22:55 -05:00 committed by Markus Kowalewski
parent 357f51b93d
commit 198b7ea83a
No known key found for this signature in database
GPG Key ID: D865C8A91D7025EB

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchsvn, cmake, pkgconfig
{ stdenv, fetchFromGitHub, fetchsvn, fetchpatch, cmake, pkgconfig
, openal, freealut, libGLU_combined, libvorbis, libogg, gettext, curl, freetype
, fribidi, libtool, bluez, libjpeg, libpng, zlib, libX11, libXrandr }:
@ -34,6 +34,14 @@ in stdenv.mkDerivation rec {
curl fribidi bluez libjpeg libpng
];
# https://github.com/supertuxkart/stk-code/issues/3557#issuecomment-440794379
patches = [
(fetchpatch {
url = "https://github.com/supertuxkart/stk-code/commit/3a3953f38c3555e87f3608d0291dbfccf34e9775.patch";
sha256 = "13mr5pwf45g7frpxzlxiyiq39qi3z9spd7l6gi8i3dr3li9wrb1k";
})
];
enableParallelBuilding = true;
cmakeFlags = [