diff --git a/pkgs/games/gltron/default.nix b/pkgs/games/gltron/default.nix index ebdd95f7073..77d122b3611 100644 --- a/pkgs/games/gltron/default.nix +++ b/pkgs/games/gltron/default.nix @@ -9,6 +9,11 @@ stdenv.mkDerivation rec { patches = [ ./gentoo-prototypes.patch ]; + postPatch = '' + # Fix http://sourceforge.net/p/gltron/bugs/15 + sed -i /__USE_MISC/d lua/src/lib/liolib.c + ''; + # The build fails, unless we disable the default -Wall -Werror configureFlags = "--disable-warn"; @@ -20,6 +25,5 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.gpl2Plus; maintainers = with stdenv.lib.maintainers; [viric]; platforms = with stdenv.lib.platforms; linux; - broken = true; # see http://sourceforge.net/p/gltron/bugs/15 }; }