mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
Fix function naming conflict in gnuchess
svn path=/nixpkgs/trunk/; revision=20147
This commit is contained in:
parent
2b937b1a47
commit
2ced6cbbec
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user