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