mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
xsokoban: fix for colliding getline in score.c
This commit is contained in:
parent
7ac03301a7
commit
d66fa56de2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user