xsokoban: fix build with gcc15 (#511189)

This commit is contained in:
Yohann Boniface
2026-04-18 21:26:41 +00:00
committed by GitHub
+2
View File
@@ -36,6 +36,8 @@ stdenv.mkDerivation (finalAttrs: {
preConfigure = ''
sed -e 's/getline/my_getline/' -i score.c
sed -e 's/getpass/my_getpass/' -i externs.h display.c
# gcc15
sed -e 's/Score(_false_)/Score()/g' -i main.c
chmod a+rw config.h
cat >>config.h <<EOF