mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +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 (''
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user