From 1e9c38efad2f42ea208e40924d1e5936810ac7c0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Aug 2023 22:51:20 +0100 Subject: gentoo auto-resync : 02:08:2023 - 22:51:19 --- .../afl/files/afl-2.57b-implicit-int-clang16.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 app-forensics/afl/files/afl-2.57b-implicit-int-clang16.patch (limited to 'app-forensics/afl/files') diff --git a/app-forensics/afl/files/afl-2.57b-implicit-int-clang16.patch b/app-forensics/afl/files/afl-2.57b-implicit-int-clang16.patch new file mode 100644 index 000000000000..dc432c5c08c4 --- /dev/null +++ b/app-forensics/afl/files/afl-2.57b-implicit-int-clang16.patch @@ -0,0 +1,14 @@ +Bug: https://bugs.gentoo.org/894514 +diff --git a/Makefile b/Makefile +index 3819312..536c20b 100644 +--- a/Makefile ++++ b/Makefile +@@ -50,7 +50,7 @@ ifndef AFL_NO_X86 + + test_x86: + @echo "[*] Checking for the ability to compile x86 code..." +- @echo 'main() { __asm__("xorb %al, %al"); }' | $(CC) -w -x c - -o .test || ( echo; echo "Oops, looks like your compiler can't generate x86 code."; echo; echo "Don't panic! You can use the LLVM or QEMU mode, but see docs/INSTALL first."; echo "(To ignore this error, set AFL_NO_X86=1 and try again.)"; echo; exit 1 ) ++ @echo 'int main() { __asm__("xorb %al, %al"); }' | $(CC) -w -x c - -o .test || ( echo; echo "Oops, looks like your compiler can't generate x86 code."; echo; echo "Don't panic! You can use the LLVM or QEMU mode, but see docs/INSTALL first."; echo "(To ignore this error, set AFL_NO_X86=1 and try again.)"; echo; exit 1 ) + @rm -f .test + @echo "[+] Everything seems to be working, ready to compile." + -- cgit v1.2.3