From 8ecdac14041c1905b106b645a9b101f4961a6993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Wed, 31 Dec 2014 10:51:05 +0100 Subject: [PATCH] Fix gltron. Sinterklaas present for iElectric. (cherry picked from commit 013705113bb95f5e43b779c94c231f4f0f3b89fc) --- pkgs/games/gltron/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 }; }