summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-11-23 09:54:21 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2018-11-23 16:18:13 +0000
commit8c8b2a4bb107b5dc2fbf1648f53a79ec71bc366c (patch)
treebf30f696794b360258d745c9742030d0761d1917 /app-forensics
parentsys-libs/libhx: Minor ebuild fix. (diff)
downloadgentoo-8c8b2a4bb107b5dc2fbf1648f53a79ec71bc366c.tar.gz
gentoo-8c8b2a4bb107b5dc2fbf1648f53a79ec71bc366c.tar.bz2
gentoo-8c8b2a4bb107b5dc2fbf1648f53a79ec71bc366c.zip
app-forensics/honggfuzz: drop -Werror
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/honggfuzz/files/honggfuzz-1.7-no-werror.patch5
-rw-r--r--app-forensics/honggfuzz/honggfuzz-1.7.ebuild7
2 files changed, 11 insertions, 1 deletions
diff --git a/app-forensics/honggfuzz/files/honggfuzz-1.7-no-werror.patch b/app-forensics/honggfuzz/files/honggfuzz-1.7-no-werror.patch
new file mode 100644
index 000000000000..bf4d65377369
--- /dev/null
+++ b/app-forensics/honggfuzz/files/honggfuzz-1.7-no-werror.patch
@@ -0,0 +1,5 @@
+--- 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/honggfuzz-1.7.ebuild b/app-forensics/honggfuzz/honggfuzz-1.7.ebuild
index a1c990e10224..c41e64b032cb 100644
--- a/app-forensics/honggfuzz/honggfuzz-1.7.ebuild
+++ b/app-forensics/honggfuzz/honggfuzz-1.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -28,8 +28,13 @@ DOCS=(
README.md
)
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.7-no-werror.patch
+)
+
src_prepare() {
default
+
if has_version ">=sys-libs/binutils-libs-2.29"; then
eapply "${FILESDIR}"/${PN}-1.1-binutils-2.29.patch
fi