* [gentoo-commits] repo/gentoo:master commit in: app-forensics/honggfuzz/files/
@ 2020-04-18 21:31 Sergei Trofimovich
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Trofimovich @ 2020-04-18 21:31 UTC (permalink / raw
To: gentoo-commits
commit: 8c14d5c33099e14e0f94dc290597daa2557531df
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Apr 18 16:53:32 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Apr 18 21:31:50 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c14d5c3
app-forensics/honggfuzz: remove unused patches
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
.../files/honggfuzz-1.1-binutils-2.29.patch | 11 -----------
.../honggfuzz/files/honggfuzz-1.7-no-werror.patch | 5 -----
.../files/honggfuzz-2.0-binutils-2.34.patch | 22 ----------------------
3 files changed, 38 deletions(-)
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
deleted file mode 100644
index 31a57784ed8..00000000000
--- a/app-forensics/honggfuzz/files/honggfuzz-1.1-binutils-2.29.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-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/files/honggfuzz-1.7-no-werror.patch b/app-forensics/honggfuzz/files/honggfuzz-1.7-no-werror.patch
deleted file mode 100644
index bf4d6537736..00000000000
--- a/app-forensics/honggfuzz/files/honggfuzz-1.7-no-werror.patch
+++ /dev/null
@@ -1,5 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -29 +29 @@ HFUZZ_CC_SRCS := hfuzz_cc/hfuzz-cc.c
--COMMON_CFLAGS := -D_GNU_SOURCE -Wall -Werror -Wno-format-truncation -I.
-+COMMON_CFLAGS := -D_GNU_SOURCE -Wall -Wno-format-truncation -I.
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
deleted file mode 100644
index 45da65c1c6d..00000000000
--- a/app-forensics/honggfuzz/files/honggfuzz-2.0-binutils-2.34.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- 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) {
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/honggfuzz/files/
@ 2023-12-25 13:57 Marek Szuba
0 siblings, 0 replies; 2+ messages in thread
From: Marek Szuba @ 2023-12-25 13:57 UTC (permalink / raw
To: gentoo-commits
commit: 2b6012d378eb03a6f9673fb062885293258ea264
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 13:57:02 2023 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 13:57:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6012d3
app-forensics/honggfuzz: add missing patch for 2.6
Aaaaaargh.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
app-forensics/honggfuzz/files/honggfuzz-2.6-no-werror.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-25 13:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-25 13:57 [gentoo-commits] repo/gentoo:master commit in: app-forensics/honggfuzz/files/ Marek Szuba
-- strict thread matches above, loose matches on Subject: below --
2020-04-18 21:31 Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox