Skip to content

Commit

Permalink
app-forensics/honggfuzz: drop -Werror
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <[email protected]>
  • Loading branch information
Sergei Trofimovich committed Nov 23, 2018
1 parent 2696eb4 commit 8c8b2a4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app-forensics/honggfuzz/files/honggfuzz-1.7-no-werror.patch
Original file line number Diff line number Diff line change
@@ -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.
7 changes: 6 additions & 1 deletion app-forensics/honggfuzz/honggfuzz-1.7.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8c8b2a4

Please sign in to comment.