From d66fa56de25018500d3717d71701cd1fb6a0ce41 Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Mon, 26 Nov 2012 15:24:21 +0100 Subject: [PATCH] xsokoban: fix for colliding getline in score.c --- pkgs/games/xsokoban/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/games/xsokoban/default.nix b/pkgs/games/xsokoban/default.nix index bfd2b0f38c0..b8c6096b756 100644 --- a/pkgs/games/xsokoban/default.nix +++ b/pkgs/games/xsokoban/default.nix @@ -20,6 +20,7 @@ rec { phaseNames = ["preConfigure" "doConfigure" "preBuild" "doMakeInstall"]; preConfigure = a.fullDepEntry ('' + sed -e 's/getline/my_getline/' -i score.c export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${a.libXpm}/include/X11" for i in $NIX_CFLAGS_COMPILE; do echo $i; ls ''${i#-I}; done chmod a+rw config.h