summaryrefslogtreecommitdiffstats
path: root/pkgs/games/gltron
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2014-12-31 10:51:05 +0100
committerLluís Batlle i Rossell <viric@viric.name>2014-12-31 10:52:25 +0100
commit8ecdac14041c1905b106b645a9b101f4961a6993 (patch)
tree743f19e05098472856a8683e724d6fbaae7b3cb2 /pkgs/games/gltron
parentc2af4f3ea8cbeaf30b67e9391c318fce5b555079 (diff)
Fix gltron. Sinterklaas present for iElectric.
(cherry picked from commit 013705113bb95f5e43b779c94c231f4f0f3b89fc)
Diffstat (limited to 'pkgs/games/gltron')
-rw-r--r--pkgs/games/gltron/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/games/gltron/default.nix b/pkgs/games/gltron/default.nix
index ebdd95f70735..77d122b36117 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
};
}