kobodeluxe: fix build

This commit is contained in:
Kranium Gikos Mendoza 2016-08-28 11:26:12 +08:00
parent 192d7a4cba
commit ddcf259c2d

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