From 2ced6cbbec4ba9fe6e64ce9ef203efd577ed0d55 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sun, 21 Feb 2010 08:15:14 +0000 Subject: [PATCH] Fix function naming conflict in gnuchess svn path=/nixpkgs/trunk/; revision=20147 --- pkgs/games/gnuchess/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/games/gnuchess/default.nix b/pkgs/games/gnuchess/default.nix index cbd905fc33cc..db4961eaaf68 100644 --- a/pkgs/games/gnuchess/default.nix +++ b/pkgs/games/gnuchess/default.nix @@ -22,6 +22,9 @@ rec { preBuild = a.fullDepEntry ('' sed -i src/input.c -e 's/static pthread_t/pthread_t/' sed -i "s@gnuchess@$out/bin/gnuchess@" -i src/gnuchessx + + + sed -e s/getline/gnuchess_local_getline/g -i $(grep getline -rl .) '') ["minInit" "doUnpack"]; name = "gnuchess-" + version;