3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #18050 from womfoo/fix/kobodeluxe-build

kobodeluxe: fix build
This commit is contained in:
Carles Pagès 2016-08-28 09:34:34 +02:00 committed by GitHub
commit c227f665d4

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, SDL, SDL_image} :
{stdenv, fetchurl, SDL, SDL_image, mesa} :
stdenv.mkDerivation {
name = "kobodeluxe-0.5.1";
@ -7,7 +7,7 @@ stdenv.mkDerivation {
sha256 = "0f7b910a399d985437564af8c5d81d6dcf22b96b26b01488d72baa6a6fdb5c2c";
};
buildInputs = [ SDL SDL_image];
buildInputs = [ SDL SDL_image mesa ];
prePatch = ''
sed -e 's/char \*tok/const char \*tok/' -i graphics/window.cpp