Unverified Commit df4f0f1e authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

xsokoban: fix build with gcc15 (#511189)

parents f5bf55e1 11badd73
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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