Unverified Commit d385f5de authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

funnelweb: fix build with gcc15 (#505655)

parents d0f317d9 9063fa5b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -13,6 +13,11 @@ stdenv.mkDerivation {
    sha256 = "0zqhys0j9gabrd12mnk8ibblpc8dal4kbl8vnhxmdlplsdpwn4wg";
  };

  postPatch = ''
    substituteInPlace source/style.h \
      --replace-fail "typedef unsigned        bool   ; /* Unsigned, [0,1].                          */" ""
  '';

  buildPhase = ''
    cd source
    ${stdenv.cc}/bin/cc -D__linux__ -o fw *.c