Fix function naming conflict in gnuchess

svn path=/nixpkgs/trunk/; revision=20147
This commit is contained in:
Michael Raskin 2010-02-21 08:15:14 +00:00
parent 2b937b1a47
commit 2ced6cbbec

View File

@ -22,6 +22,9 @@ rec {
preBuild = a.fullDepEntry ('' preBuild = a.fullDepEntry (''
sed -i src/input.c -e 's/static pthread_t/pthread_t/' sed -i src/input.c -e 's/static pthread_t/pthread_t/'
sed -i "s@gnuchess@$out/bin/gnuchess@" -i src/gnuchessx sed -i "s@gnuchess@$out/bin/gnuchess@" -i src/gnuchessx
sed -e s/getline/gnuchess_local_getline/g -i $(grep getline -rl .)
'') ["minInit" "doUnpack"]; '') ["minInit" "doUnpack"];
name = "gnuchess-" + version; name = "gnuchess-" + version;