funnelweb: fix build with gcc15 (#505655)

This commit is contained in:
Michael Daniels
2026-04-05 15:12:54 +00:00
committed by GitHub
+5
View File
@@ -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