summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-12-25 14:57:02 +0100
committerMarek Szuba <marecki@gentoo.org>2023-12-25 14:57:30 +0100
commit2b6012d378eb03a6f9673fb062885293258ea264 (patch)
treea274b68758082950791e25dc7bf8f032f9a4729a /app-forensics
parentdev-vcs/pre-commit: add 3.6.0 (diff)
downloadgentoo-2b6012d378eb03a6f9673fb062885293258ea264.tar.gz
gentoo-2b6012d378eb03a6f9673fb062885293258ea264.tar.bz2
gentoo-2b6012d378eb03a6f9673fb062885293258ea264.zip
app-forensics/honggfuzz: add missing patch for 2.6
Aaaaaargh. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/honggfuzz/files/honggfuzz-2.6-no-werror.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-forensics/honggfuzz/files/honggfuzz-2.6-no-werror.patch b/app-forensics/honggfuzz/files/honggfuzz-2.6-no-werror.patch
new file mode 100644
index 000000000000..d8af6bd046f8
--- /dev/null
+++ b/app-forensics/honggfuzz/files/honggfuzz-2.6-no-werror.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -26,7 +26,7 @@
+ BIN := honggfuzz
+ HFUZZ_CC_BIN := hfuzz_cc/hfuzz-cc
+ HFUZZ_CC_SRCS := hfuzz_cc/hfuzz-cc.c
+-COMMON_CFLAGS := -std=c11 -I/usr/local/include -D_GNU_SOURCE -Wall -Wextra -Werror -Wno-format-truncation -Wno-override-init -I.
++COMMON_CFLAGS := -std=c11 -I/usr/local/include -D_GNU_SOURCE -Wall -Wextra -Wno-format-truncation -Wno-override-init -I.
+ COMMON_LDFLAGS := -pthread -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -lm
+ COMMON_SRCS := $(sort $(wildcard *.c))
+ CFLAGS ?= -O3 -mtune=native -funroll-loops