Unverified Commit bf64eb0e authored by Nicky Mouha's avatar Nicky Mouha Committed by GitHub
Browse files

john: fix build with gcc15

parent d2e8d8d2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -40,6 +40,9 @@ stdenv.mkDerivation {
    })
  ];

  # Fix build with gcc 15
  env.NIX_CFLAGS_COMPILE = "-std=gnu17";

  postPatch = ''
    sed -ri -e '
      s!^(#define\s+CFG_[A-Z]+_NAME\s+).*/!\1"'"$out"'/etc/john/!