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 --- app-forensics/Manifest.gz | Bin 4722 -> 4724 bytes app-forensics/afl/Manifest | 3 ++- app-forensics/afl/afl-2.57b-r2.ebuild | 9 ++++++--- .../afl/files/afl-2.57b-implicit-int-clang16.patch | 14 ++++++++++++++ 4 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 app-forensics/afl/files/afl-2.57b-implicit-int-clang16.patch (limited to 'app-forensics') diff --git a/app-forensics/Manifest.gz b/app-forensics/Manifest.gz index d077e648b488..5418b926c4a2 100644 Binary files a/app-forensics/Manifest.gz and b/app-forensics/Manifest.gz differ diff --git a/app-forensics/afl/Manifest b/app-forensics/afl/Manifest index adcc27255e0d..748ab6678071 100644 --- a/app-forensics/afl/Manifest +++ b/app-forensics/afl/Manifest @@ -1,7 +1,8 @@ +AUX afl-2.57b-implicit-int-clang16.patch 961 BLAKE2B a3659943b46ad6c10c7eb4f20aa0ba45ecfba61a2fff6a5abe0fcb6584e8442bfb7cf1c9093a5753b80396a64650970523efdffd512f3b72ba25723d1da31312 SHA512 4a11b7107a66a9517f541743be908bada808a56afaebe520eb933856428e6232bb3c01173c81af4d33f6c305504aab7a3e97053cae8ce2728ca894b98c147468 AUX afl-2.57b-install-readmemd.diff 562 BLAKE2B 29d3e5a56db853ae81090476f7c64914561e304903a5b6436f750c12f9d490a7441147b2332a8878363dc187ffc60f1073e6f4948978b472add1c0fbfb3863eb SHA512 224f0e9cc856059d4321f5287401a664731758235b3604fd755da42c8eaeba49ea21ee3982a24ed2a52a86b5a6e40096cef3fbe375e1843dfc09109865e709b9 DIST afl-2.56b.tar.gz 836989 BLAKE2B 974c1efa3999c714068529d24c81e6d0ffb45a487b97625fa4ff538aeb86d43825561d5b496cb47caebf687078699e2ee606d7525424b5890dced14a95417750 SHA512 4e76fc503fe615aac4d0bbd8e3632d5cfbb7a3ac107be03c399afc024a8ad364dba933875d50a9b65083159faf6ebef5e13c39b25db977b01bd29b6340cad162 DIST afl-2.57b.tar.gz 839871 BLAKE2B 69029d59451e468528386154e8938a1a7303765e039f98aa05e36f07314398f60ff2578f765142e1f1ff653e5ab93ea53a2efb98abe275046ebacdd3ca8363b6 SHA512 5d12b96229e966aeb11deb47cd8eb36cde2fa32656eb187db02c7240909d6acda36be59b2baf7e42cddd228d25ec94c8bffc3fa27f7f4b5e1e462b62929ce75d EBUILD afl-2.56b-r1.ebuild 1134 BLAKE2B c8110df056bff5a104d974a09ccdbde96e4c79ead7a7872bd4f5c854eb814e7b31545a84dd416079c90232d18e6cd134e466195284af7eed4568386c69e3bff3 SHA512 49bf9f0c29bd84439639aaad32c2aa4abc9d3238b7dd7bd244ebe327450f2ef434ca3ec5fad1fc94fd8749696ce8b1d48517c9c567e99c950a45819ed37fd4ba EBUILD afl-2.57b-r1.ebuild 1134 BLAKE2B c8110df056bff5a104d974a09ccdbde96e4c79ead7a7872bd4f5c854eb814e7b31545a84dd416079c90232d18e6cd134e466195284af7eed4568386c69e3bff3 SHA512 49bf9f0c29bd84439639aaad32c2aa4abc9d3238b7dd7bd244ebe327450f2ef434ca3ec5fad1fc94fd8749696ce8b1d48517c9c567e99c950a45819ed37fd4ba -EBUILD afl-2.57b-r2.ebuild 1305 BLAKE2B 07d2fec005d2ebdbc89491a42e6aea89ba4b9e2d90f67a71e6fc5302bf7060058db98704aefb72485fb2032d56b089dc71c337cef8b85c26d591a82996b0f6e0 SHA512 50228212a0cd4da16ebd448e9abe0bbfcbb5ae6efbdb1137473e42a45b88f80a414b8cc2ea5049d3ee07d8d2847feda266a78678e984714482270b5f40b4b408 +EBUILD afl-2.57b-r2.ebuild 1331 BLAKE2B 04d8220cecd1d6a3cf3572b6e5eef7392b33bfd35bedd8397789a757c77eec5afc1daabf00dcb27b3eac26085f58db800713fbbbda56357eb90dd0bef10fe85b SHA512 ad9d15e952696b92ede54c612bca621b7677d6ba48fa96806fb4f144d6ada00fb2530eee96ba61250bf1ed2db0b71ed9887be03b9db51505d0094b1582de4310 MISC metadata.xml 300 BLAKE2B 5316fec84961976662e0794c8c637cdbc63c4cdec020e5cac605d0a5f5c67204c18ee8c2e3822a7f3e64b10469195ddf33092b0afd446b10bd7ddd9a7bcaf93f SHA512 8ea419b9fdfb1ef616b4914440c984664d23aa19f48126a3b9f7f3f594923904301f3b39f1eb67e3f1ea73accc799743a26a370bea69d7fc96d4e4dc16f529b2 diff --git a/app-forensics/afl/afl-2.57b-r2.ebuild b/app-forensics/afl/afl-2.57b-r2.ebuild index 95bfacc4b55c..1d63aae81046 100644 --- a/app-forensics/afl/afl-2.57b-r2.ebuild +++ b/app-forensics/afl/afl-2.57b-r2.ebuild @@ -1,12 +1,15 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit multilib toolchain-funcs flag-o-matic +inherit toolchain-funcs # See https://github.com/google/AFL/pull/117 -PATCHES=( "${FILESDIR}/${P}-install-readmemd.diff" ) +PATCHES=( + "${FILESDIR}/${P}-install-readmemd.diff" + "${FILESDIR}/${P}-implicit-int-clang16.patch" +) DESCRIPTION="american fuzzy lop - compile-time instrumentation fuzzer" HOMEPAGE="https://lcamtuf.coredump.cx/afl/" 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