honggfuzz: patch in support for gcc15

This commit is contained in:
Tim Schumacher
2026-01-05 03:01:55 +01:00
parent 71a801a55a
commit 36940de88c
+9
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
makeWrapper,
clang,
llvm,
@@ -22,6 +23,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-/ra6g0qjjC8Lo8/n2XEbwnZ95yDHcGhYd5+TTvQ6FAc=";
};
patches = [
# [PATCH] mangle: support gcc-15 with __attribute__((nonstring))
(fetchpatch2 {
url = "https://github.com/google/honggfuzz/commit/4cfa62f4fdb56e3027c1cb3aecf04812e786f0fd.patch?full_index=1";
hash = "sha256-79/GZfqTH1o/21P7At5ZPmvcCSYWAsVakSv5dNCT+XI=";
})
];
postPatch = ''
substituteInPlace hfuzz_cc/hfuzz-cc.c \
--replace '"clang' '"${clang}/bin/clang'