xsokoban: fix build agaist gcc-14

It's a really old program. Let's disable most implicit
declarations to restore the build.

+3 -1
+3 -1
pkgs/by-name/xs/xsokoban/package.nix
··· 24 libXt 25 ]; 26 27 - env.NIX_CFLAGS_COMPILE = "-I${libXpm.dev}/include/X11"; 28 29 hardeningDisable = [ "format" ]; 30 ··· 34 35 preConfigure = '' 36 sed -e 's/getline/my_getline/' -i score.c 37 38 chmod a+rw config.h 39 cat >>config.h <<EOF ··· 60 61 meta = with lib; { 62 description = "X sokoban"; 63 mainProgram = "xsokoban"; 64 license = licenses.publicDomain; 65 maintainers = [ maintainers.raskin ];
··· 24 libXt 25 ]; 26 27 + env.NIX_CFLAGS_COMPILE = "-I${libXpm.dev}/include/X11 -Wno-error=implicit-int -Wno-error=implicit-function-declaration"; 28 29 hardeningDisable = [ "format" ]; 30 ··· 34 35 preConfigure = '' 36 sed -e 's/getline/my_getline/' -i score.c 37 + sed -e 's/getpass/my_getpass/' -i externs.h display.c 38 39 chmod a+rw config.h 40 cat >>config.h <<EOF ··· 61 62 meta = with lib; { 63 description = "X sokoban"; 64 + homepage = "https://www.cs.cornell.edu/andru/xsokoban.html"; 65 mainProgram = "xsokoban"; 66 license = licenses.publicDomain; 67 maintainers = [ maintainers.raskin ];