public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/honggfuzz/files/, app-forensics/honggfuzz/
@ 2017-05-23 21:16 Sergei Trofimovich
  0 siblings, 0 replies; 5+ messages in thread
From: Sergei Trofimovich @ 2017-05-23 21:16 UTC (permalink / raw
  To: gentoo-commits

commit:     11b4cdb9bfa35c180842c53187f9cdc93871172f
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue May 23 21:15:30 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue May 23 21:15:48 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11b4cdb9

app-forensics/honggfuzz: bump up to 1.0

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-forensics/honggfuzz/Manifest                   |  1 +
 .../honggfuzz/files/honggfuzz-1.0-no-error.patch   |  7 ++++
 app-forensics/honggfuzz/honggfuzz-1.0.ebuild       | 43 ++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/app-forensics/honggfuzz/Manifest b/app-forensics/honggfuzz/Manifest
index 6df0bf6aa07..4dac6d483c9 100644
--- a/app-forensics/honggfuzz/Manifest
+++ b/app-forensics/honggfuzz/Manifest
@@ -1,3 +1,4 @@
 DIST honggfuzz-0.7.tar.gz 413122 SHA256 611472a453c870165bb44e55900e7709aa4f7bca0159a81fc599cd66d1547d2a SHA512 b0ab50ebae44fe734899a6fd4e6a861ff289ea6f449141fd974a4ad4cc8e12f0b77f7ba9163134668f5401596f2cf179c20d1e97cdc6578282f7c6b6e1c54b57 WHIRLPOOL d6e066efce44c7080467235a12392374da4bab1aa5714de1e7739cc96ecf66d44b97810b5a69b1a939c1194d9e129cc972a440943029d3a468f0946de648940a
 DIST honggfuzz-0.8.tar.gz 432740 SHA256 6bdc09798e7fe69d2c88437b61c3d2ec5be17a8135ddbe8da006373ec0ca492f SHA512 65db9e67fd3ba3303a62c61c05a738dfad71dd3cbef032de8cae0965886887ea11ee3f4011354cf7b40014a8cd02d773ca66a06389cf76b42bdc5a79dbcb1ca1 WHIRLPOOL 33fe61321dc318824385632622d0f10d53dcfb36b0ffb5e43a7f3d051d8b9f2ae11b3d3c35c8f675250c88eaf2af3cd7ffcb7d33f9c18adf6fbea34e6aae3b88
 DIST honggfuzz-0.9.tar.gz 7332175 SHA256 161ad1fab5a677054d54d55a9fc070a2a4cbd26d6794e7fd8fe68db909f433c7 SHA512 d73200994a26afc7c11db4a36b24d4ca90b1994ed088cbe462fcec46d9236d82511e3d3fc440ef44a56ef387683b6dc330b4e104bec8047c2c797681617ad1f4 WHIRLPOOL 4e3d2d8683ce774394a513280902d2285f2262f6a774f04a52de729bfaedb2268d559e01428b7666a436ce5eca12c034ebe0094107a92a2e3db1943d77a99657
+DIST honggfuzz-1.0.tar.gz 11704842 SHA256 72be94533cab10b5aa5b30894ce3e8036308b8cb2694395e40dee45516f96d20 SHA512 f51319b691d2d067bbdec3316ee824df2fb17276bcdf581edd84cef864ce48181b367bb73d99c4d1e19da580c2dfceab9dd2bf46436f7643e3c0f4e7e3ca3c2b WHIRLPOOL e711e3226f67645175bcd3a312fd2bfccb00f7120063a54ff14b8e081ddfdbdee68d4f345710c5d4b1b7a0def89cfd2910d167fd2702c63709e8980a154c3a56

diff --git a/app-forensics/honggfuzz/files/honggfuzz-1.0-no-error.patch b/app-forensics/honggfuzz/files/honggfuzz-1.0-no-error.patch
new file mode 100644
index 00000000000..c7d7f48af54
--- /dev/null
+++ b/app-forensics/honggfuzz/files/honggfuzz-1.0-no-error.patch
@@ -0,0 +1,7 @@
+diff --git a/Makefile b/Makefile
+index 378df7d..75a6b71 100644
+--- a/Makefile
++++ b/Makefile
+@@ -30 +30 @@ CC_SRCS := display.c log.c util.c files.c hfuzz_cc/hfuzz-clang.c
+-COMMON_CFLAGS := -D_GNU_SOURCE -Wall -Werror -Wframe-larger-than=131072
++COMMON_CFLAGS := -D_GNU_SOURCE -Wall -Wframe-larger-than=131072

diff --git a/app-forensics/honggfuzz/honggfuzz-1.0.ebuild b/app-forensics/honggfuzz/honggfuzz-1.0.ebuild
new file mode 100644
index 00000000000..b87a2be3562
--- /dev/null
+++ b/app-forensics/honggfuzz/honggfuzz-1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A general purpose fuzzer with feedback support"
+HOMEPAGE="http://google.github.io/honggfuzz/"
+SRC_URI="https://github.com/google/honggfuzz/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+	sys-libs/binutils-libs:=
+	sys-libs/libunwind
+"
+
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.0-no-error.patch
+)
+
+DOCS=(
+	CHANGELOG
+	COPYING
+	CONTRIBUTING
+	README.md
+)
+
+src_compile() {
+	CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" emake
+}
+
+src_install() {
+	dobin ${PN}
+
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-forensics/honggfuzz/files/, app-forensics/honggfuzz/
@ 2017-08-11  7:52 Sergei Trofimovich
  0 siblings, 0 replies; 5+ messages in thread
From: Sergei Trofimovich @ 2017-08-11  7:52 UTC (permalink / raw
  To: gentoo-commits

commit:     e299215e94b8d6878fd12cea426083ab22c05f81
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 11 07:52:17 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Aug 11 07:52:28 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e299215e

app-forensics/honggfuzz: adapt to binutils-2.29 API change

disassembler() function got more parameters:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=003ca0fd22863aaf1a9811c8a35a0133a2d27fb1

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 .../honggfuzz/files/honggfuzz-1.1-binutils-2.29.patch         | 11 +++++++++++
 app-forensics/honggfuzz/honggfuzz-1.1.ebuild                  |  7 +++++++
 2 files changed, 18 insertions(+)

diff --git a/app-forensics/honggfuzz/files/honggfuzz-1.1-binutils-2.29.patch b/app-forensics/honggfuzz/files/honggfuzz-1.1-binutils-2.29.patch
new file mode 100644
index 00000000000..31a57784ed8
--- /dev/null
+++ b/app-forensics/honggfuzz/files/honggfuzz-1.1-binutils-2.29.patch
@@ -0,0 +1,11 @@
+Adapt to binutils-2.29 API change caused by
+https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=003ca0fd22863aaf1a9811c8a35a0133a2d27fb1
+diff --git a/linux/bfd.c b/linux/bfd.c
+index bcd247f..e9e16ab 100644
+--- a/linux/bfd.c
++++ b/linux/bfd.c
+@@ -163,3 +163,3 @@ void arch_bfdDisasm(pid_t pid, uint8_t * mem, size_t size, char *instr)
+ 
+-    disassembler_ftype disassemble = disassembler(bfdh);
++    disassembler_ftype disassemble = disassembler(bfd_get_arch(bfdh), bfd_little_endian(bfdh), bfd_get_mach(bfdh), bfdh);
+     if (disassemble == NULL) {

diff --git a/app-forensics/honggfuzz/honggfuzz-1.1.ebuild b/app-forensics/honggfuzz/honggfuzz-1.1.ebuild
index 1e7413dc5fa..eb072b67c9b 100644
--- a/app-forensics/honggfuzz/honggfuzz-1.1.ebuild
+++ b/app-forensics/honggfuzz/honggfuzz-1.1.ebuild
@@ -28,6 +28,13 @@ DOCS=(
 	README.md
 )
 
+src_prepare() {
+	default
+	if has_version ">=sys-libs/binutils-libs-2.29"; then
+		eapply "${FILESDIR}"/${PN}-1.1-binutils-2.29.patch
+	fi
+}
+
 src_compile() {
 	CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" emake
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-forensics/honggfuzz/files/, app-forensics/honggfuzz/
@ 2020-02-02 11:29 Sergei Trofimovich
  0 siblings, 0 replies; 5+ messages in thread
From: Sergei Trofimovich @ 2020-02-02 11:29 UTC (permalink / raw
  To: gentoo-commits

commit:     7a7ae297c5ad2ebaa8bd77398dcf5f3c8f48d5fa
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  2 11:28:11 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Feb  2 11:28:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a7ae297

app-forensics/honggfuzz: tweak for binutils-2.34, bug #707846

Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/707846
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 .../files/honggfuzz-2.0-binutils-2.34.patch        | 22 ++++++++++++++++++++++
 app-forensics/honggfuzz/honggfuzz-2.0.ebuild       | 10 +++++++++-
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/app-forensics/honggfuzz/files/honggfuzz-2.0-binutils-2.34.patch b/app-forensics/honggfuzz/files/honggfuzz-2.0-binutils-2.34.patch
new file mode 100644
index 00000000000..45da65c1c6d
--- /dev/null
+++ b/app-forensics/honggfuzz/files/honggfuzz-2.0-binutils-2.34.patch
@@ -0,0 +1,22 @@
+--- a/linux/bfd.c
++++ b/linux/bfd.c
+@@ -122,8 +122,8 @@ void arch_bfdDemangle(funcs_t* funcs, size_t funcCnt) {
+ 
+ static struct bfd_section* arch_getSectionForPc(bfd* bfdh, uint64_t pc) {
+     for (struct bfd_section* section = bfdh->sections; section; section = section->next) {
+-        uintptr_t vma = (uintptr_t)bfd_get_section_vma(bfdh, section);
+-        uintptr_t sz = (uintptr_t)bfd_get_section_size(section);
++        uintptr_t vma = (uintptr_t)bfd_section_vma(section);
++        uintptr_t sz = (uintptr_t)bfd_section_size(section);
+         if ((pc > vma) && (pc < (vma + sz))) {
+             return section;
+         }
+@@ -160,7 +160,7 @@ void arch_bfdResolveSyms(pid_t pid, funcs_t* funcs, size_t num) {
+             continue;
+         }
+ 
+-        long sec_offset = (long)funcs[i].pc - bfd_get_section_vma(bfdParams.bfdh, section);
++        long sec_offset = (long)funcs[i].pc - bfd_section_vma(section);
+ 
+         if (bfd_find_nearest_line(
+                 bfdParams.bfdh, section, bfdParams.syms, sec_offset, &file, &func, &line) == TRUE) {

diff --git a/app-forensics/honggfuzz/honggfuzz-2.0.ebuild b/app-forensics/honggfuzz/honggfuzz-2.0.ebuild
index f486d019eb3..f58c1b9e7c8 100644
--- a/app-forensics/honggfuzz/honggfuzz-2.0.ebuild
+++ b/app-forensics/honggfuzz/honggfuzz-2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -33,6 +33,14 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-1.1-binutils-2.29.patch
 )
 
+src_prepare() {
+	default
+
+	if has_version ">=sys-libs/binutils-libs-2.34"; then
+		eapply "${FILESDIR}"/${PN}-2.0-binutils-2.34.patch
+	fi
+}
+
 src_compile() {
 	CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" emake
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-forensics/honggfuzz/files/, app-forensics/honggfuzz/
@ 2022-03-01 16:47 Marek Szuba
  0 siblings, 0 replies; 5+ messages in thread
From: Marek Szuba @ 2022-03-01 16:47 UTC (permalink / raw
  To: gentoo-commits

commit:     b05e3e39bf66760425771de98175027dbd78f7fa
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  1 15:22:01 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Mar  1 16:47:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b05e3e39

app-forensics/honggfuzz: drop 2.4

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 app-forensics/honggfuzz/Manifest                   |  1 -
 .../files/honggfuzz-2.4-headers-musl.patch         | 45 -----------------
 app-forensics/honggfuzz/honggfuzz-2.4.ebuild       | 57 ----------------------
 3 files changed, 103 deletions(-)

diff --git a/app-forensics/honggfuzz/Manifest b/app-forensics/honggfuzz/Manifest
index 2bce2e1d8690..4fcf6705c343 100644
--- a/app-forensics/honggfuzz/Manifest
+++ b/app-forensics/honggfuzz/Manifest
@@ -1,2 +1 @@
-DIST honggfuzz-2.4.tar.gz 65224128 BLAKE2B b584b0f143fe64c8f64f134d7dc3116ec88232ec4a7b635d1cee2c8c5e7253524a8559c0b89fac11b67c1c3566891f189efc2201a1bf42410c78f211b2bc376e SHA512 bdb172e6e1f694ba8c200fb37ba84c4dd88875c9412fc26a45b7be302d234ac503c108eadb0c14fafbf8494ffaf70450975cf205e8a71b8b3b8902fdf455b4f6
 DIST honggfuzz-2.5.tar.gz 65224877 BLAKE2B 610a15a674cfa928eb4b4d9fda91e5494fe08be4b01857f390c36925872479c77b5424c06ed4df87ad791de29598d848d88eb5437d6f5f9bf9521ff67aaa5ded SHA512 d1ff23471372a3d9d62de768bda8beba0e75c49f9550bc106efb4ab49ea626c1ccc078f7a9950051a99fbc841615a81faae2c3b39270facd6c0064e28956c419

diff --git a/app-forensics/honggfuzz/files/honggfuzz-2.4-headers-musl.patch b/app-forensics/honggfuzz/files/honggfuzz-2.4-headers-musl.patch
deleted file mode 100644
index e70d6eae4eaf..000000000000
--- a/app-forensics/honggfuzz/files/honggfuzz-2.4-headers-musl.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 29864795b194481dd0446326cda89b9802f4fe51 Mon Sep 17 00:00:00 2001
-From: David Carlier <devnexen@gmail.com>
-Date: Sat, 8 May 2021 11:23:32 +0100
-Subject: [PATCH] musl build fix proposal
-
---- a/linux/arch.c
-+++ b/linux/arch.c
-@@ -34,7 +34,9 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#if defined(__GLIBC__)
- #include <sys/cdefs.h>
-+#endif
- #include <sys/personality.h>
- #include <sys/prctl.h>
- #include <sys/syscall.h>
---- a/linux/perf.c
-+++ b/linux/perf.c
-@@ -30,12 +30,12 @@
- #include <linux/hw_breakpoint.h>
- #include <linux/perf_event.h>
- #include <linux/sysctl.h>
-+#include <poll.h>
- #include <signal.h>
- #include <stdlib.h>
- #include <string.h>
- #include <sys/ioctl.h>
- #include <sys/mman.h>
--#include <sys/poll.h>
- #include <sys/ptrace.h>
- #include <sys/syscall.h>
- #include <unistd.h>
---- a/linux/trace.c
-+++ b/linux/trace.c
-@@ -34,7 +34,9 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#if defined(__GLIBC__)
- #include <sys/cdefs.h>
-+#endif
- #include <sys/personality.h>
- #include <sys/ptrace.h>
- #include <sys/resource.h>

diff --git a/app-forensics/honggfuzz/honggfuzz-2.4.ebuild b/app-forensics/honggfuzz/honggfuzz-2.4.ebuild
deleted file mode 100644
index 8a1b1c2588cd..000000000000
--- a/app-forensics/honggfuzz/honggfuzz-2.4.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="A general purpose fuzzer with feedback support"
-HOMEPAGE="https://honggfuzz.dev/"
-SRC_URI="https://github.com/google/honggfuzz/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="clang"
-
-RDEPEND="
-	>=sys-libs/binutils-libs-2.29:=
-	sys-libs/libunwind:=
-	app-arch/xz-utils
-	clang? ( sys-libs/blocksruntime )
-"
-
-DEPEND="${RDEPEND}
-	elibc_musl? ( sys-libs/queue-standalone )"
-
-DOCS=(
-	CHANGELOG
-	COPYING
-	CONTRIBUTING.md
-	README.md
-)
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-2.0-no-werror.patch
-	"${FILESDIR}"/${PN}-2.4-headers-musl.patch
-)
-
-pkg_pretend() {
-	if tc-is-clang; then
-		use clang || die "${P}: to use clang enable USE=clang for ${P} (bug #729256)."
-	fi
-}
-
-src_prepare() {
-	default
-	tc-export AR CC
-	export CFLAGS
-	export LDFLAGS
-}
-
-src_install() {
-	dobin ${PN}
-	dobin hfuzz_cc/hfuzz-cc
-
-	einstalldocs
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-forensics/honggfuzz/files/, app-forensics/honggfuzz/
@ 2024-09-02 21:18 Petr Vaněk
  0 siblings, 0 replies; 5+ messages in thread
From: Petr Vaněk @ 2024-09-02 21:18 UTC (permalink / raw
  To: gentoo-commits

commit:     4e88aae6ebcbc3186cb19cfc2562326a25bba46a
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  2 21:07:53 2024 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Mon Sep  2 21:17:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e88aae6

app-forensics/honggfuzz: drop 2.5-r1

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 app-forensics/honggfuzz/Manifest                   |  1 -
 .../honggfuzz/files/honggfuzz-2.0-no-werror.patch  | 11 -----
 .../files/honggfuzz-2.5_binutils239.patch          | 51 -------------------
 app-forensics/honggfuzz/honggfuzz-2.5-r1.ebuild    | 57 ----------------------
 4 files changed, 120 deletions(-)

diff --git a/app-forensics/honggfuzz/Manifest b/app-forensics/honggfuzz/Manifest
index c7ef97138e2c..521bc1519fe1 100644
--- a/app-forensics/honggfuzz/Manifest
+++ b/app-forensics/honggfuzz/Manifest
@@ -1,2 +1 @@
-DIST honggfuzz-2.5.tar.gz 65224877 BLAKE2B 610a15a674cfa928eb4b4d9fda91e5494fe08be4b01857f390c36925872479c77b5424c06ed4df87ad791de29598d848d88eb5437d6f5f9bf9521ff67aaa5ded SHA512 d1ff23471372a3d9d62de768bda8beba0e75c49f9550bc106efb4ab49ea626c1ccc078f7a9950051a99fbc841615a81faae2c3b39270facd6c0064e28956c419
 DIST honggfuzz-2.6.tar.gz 65227315 BLAKE2B 527d36dd66974b74be29e3dc22e22c893d0e35654a768bfd93c6a919de82841cc1552af2b479ac0d65ce2fcfd66886ca0e43bc95db5b8187c8d13191e65de320 SHA512 cdd97b65e679652be888b966e2c010fe29af262e88d6c94b94b2e78c88258c5c53b4928fdf9e8afe54029c0742c5dfb0f6f8e8cb8157093e7f5ffdcfa5c92fd4

diff --git a/app-forensics/honggfuzz/files/honggfuzz-2.0-no-werror.patch b/app-forensics/honggfuzz/files/honggfuzz-2.0-no-werror.patch
deleted file mode 100644
index c5d6b8060450..000000000000
--- a/app-forensics/honggfuzz/files/honggfuzz-2.0-no-werror.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -26,7 +26,7 @@ LD = $(CC)
- 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 -lm
- COMMON_SRCS := $(sort $(wildcard *.c))
- CFLAGS ?= -O3 -mtune=native -funroll-loops

diff --git a/app-forensics/honggfuzz/files/honggfuzz-2.5_binutils239.patch b/app-forensics/honggfuzz/files/honggfuzz-2.5_binutils239.patch
deleted file mode 100644
index af574bc495a0..000000000000
--- a/app-forensics/honggfuzz/files/honggfuzz-2.5_binutils239.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 23c3da7ea63e4a841fa0e181d173e16b437adff0 Mon Sep 17 00:00:00 2001
-From: Robert Swiecki <robert@swiecki.net>
-Date: Thu, 2 Jun 2022 23:17:49 +0200
-Subject: [PATCH] Always pass 4 arguments to init_disassemble_info(), no matter
- what's the declaration. binutils/libopcode offers an unstable interface
-
----
- linux/bfd.c | 23 +++++++++++++++++++++--
- 1 file changed, 21 insertions(+), 2 deletions(-)
-
-diff --git a/linux/bfd.c b/linux/bfd.c
-index 228365f69..236f050ec 100644
---- a/linux/bfd.c
-+++ b/linux/bfd.c
-@@ -197,6 +197,24 @@ static int arch_bfdFPrintF(void* buf, const char* fmt, ...) {
-     return ret;
- }
- 
-+static int arch_bfdFPrintFStyled(void* buf, int style HF_ATTR_UNUSED, const char* fmt, ...) {
-+    va_list args;
-+    va_start(args, fmt);
-+    int ret = util_vssnprintf(buf, _HF_INSTR_SZ, fmt, args);
-+    va_end(args);
-+
-+    return ret;
-+}
-+
-+/*
-+ * binutils/libopcode has an unstable public interface. At some point in time the function
-+ * init_disassemble_info() started taking 4 arguments instead of 3. Always pass 4 arguments to it,
-+ * no matter what's the declaration.
-+ */
-+static void arch_bfdInitDisassembleInfoStub(
-+    struct disassemble_info* info, char* instr, void* bfd_printf_func, void* bfd_printf_styled_func)
-+    __attribute__((weakref, alias("init_disassemble_info")));
-+
- void arch_bfdDisasm(pid_t pid, uint8_t* mem, size_t size, char* instr) {
-     MX_SCOPED_LOCK(&arch_bfd_mutex);
- 
-@@ -227,8 +245,9 @@ void arch_bfdDisasm(pid_t pid, uint8_t* mem, size_t size, char* instr) {
-         return;
-     }
- 
--    struct disassemble_info info;
--    init_disassemble_info(&info, instr, arch_bfdFPrintF);
-+    struct disassemble_info info = {};
-+
-+    arch_bfdInitDisassembleInfoStub(&info, instr, arch_bfdFPrintF, arch_bfdFPrintFStyled);
-     info.arch          = bfd_get_arch(bfdh);
-     info.mach          = bfd_get_mach(bfdh);
-     info.buffer        = mem;

diff --git a/app-forensics/honggfuzz/honggfuzz-2.5-r1.ebuild b/app-forensics/honggfuzz/honggfuzz-2.5-r1.ebuild
deleted file mode 100644
index 54fe2dc7889f..000000000000
--- a/app-forensics/honggfuzz/honggfuzz-2.5-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="A general purpose fuzzer with feedback support"
-HOMEPAGE="https://honggfuzz.dev/"
-SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="clang"
-
-RDEPEND="
-	>=sys-libs/binutils-libs-2.29:=
-	sys-libs/libunwind:=
-	app-arch/xz-utils
-	clang? ( sys-libs/blocksruntime )
-"
-
-DEPEND="${RDEPEND}
-	elibc_musl? ( sys-libs/queue-standalone )"
-
-DOCS=(
-	CHANGELOG
-	COPYING
-	CONTRIBUTING.md
-	README.md
-)
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-2.0-no-werror.patch
-	"${FILESDIR}"/${PN}-2.5_binutils239.patch
-)
-
-pkg_pretend() {
-	if tc-is-clang; then
-		use clang || die "${P}: to use clang enable USE=clang for ${P} (bug #729256)."
-	fi
-}
-
-src_prepare() {
-	default
-	tc-export AR CC
-	export CFLAGS
-	export LDFLAGS
-}
-
-src_install() {
-	dobin ${PN}
-	dobin hfuzz_cc/hfuzz-cc
-
-	einstalldocs
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-09-02 21:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02 21:18 [gentoo-commits] repo/gentoo:master commit in: app-forensics/honggfuzz/files/, app-forensics/honggfuzz/ Petr Vaněk
  -- strict thread matches above, loose matches on Subject: below --
2022-03-01 16:47 Marek Szuba
2020-02-02 11:29 Sergei Trofimovich
2017-08-11  7:52 Sergei Trofimovich
2017-05-23 21:16 Sergei Trofimovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox