From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3162A138351 for ; Wed, 15 Apr 2020 07:34:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 687CEE08F4; Wed, 15 Apr 2020 07:34:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F2B8E08F4 for ; Wed, 15 Apr 2020 07:34:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D548934F32B for ; Wed, 15 Apr 2020 07:34:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 26ACC1D6 for ; Wed, 15 Apr 2020 07:34:18 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1586936053.fe843648c530f6c6e8a7c3a9ed06dd3c63611366.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/barnyard2/files/, net-analyzer/barnyard2/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/barnyard2/barnyard2-1.13.ebuild net-analyzer/barnyard2/files/barnyard2-1.13-Werror.patch X-VCS-Directories: net-analyzer/barnyard2/files/ net-analyzer/barnyard2/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: fe843648c530f6c6e8a7c3a9ed06dd3c63611366 X-VCS-Branch: master Date: Wed, 15 Apr 2020 07:34:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ff9f3440-e72b-4b91-86dd-00755977b153 X-Archives-Hash: 79731af8ad73dfa7eb7fcede7733fabd commit: fe843648c530f6c6e8a7c3a9ed06dd3c63611366 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Apr 15 07:33:01 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Apr 15 07:34:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe843648 net-analyzer/barnyard2: Prevent editing out -Werror Package-Manager: Portage-2.3.99, Repoman-2.3.22 Closes: https://bugs.gentoo.org/717466 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/barnyard2/barnyard2-1.13.ebuild | 1 + .../barnyard2/files/barnyard2-1.13-Werror.patch | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/net-analyzer/barnyard2/barnyard2-1.13.ebuild b/net-analyzer/barnyard2/barnyard2-1.13.ebuild index b5215fde7f4..37795206686 100644 --- a/net-analyzer/barnyard2/barnyard2-1.13.ebuild +++ b/net-analyzer/barnyard2/barnyard2-1.13.ebuild @@ -30,6 +30,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.13-libdir.patch "${FILESDIR}"/${PN}-1.13-my_bool.patch "${FILESDIR}"/${PN}-1.13-odbc.patch + "${FILESDIR}"/${PN}-1.13-Werror.patch "${FILESDIR}"/${PN}-1.13-pcap-1.9.0.patch ) diff --git a/net-analyzer/barnyard2/files/barnyard2-1.13-Werror.patch b/net-analyzer/barnyard2/files/barnyard2-1.13-Werror.patch new file mode 100644 index 00000000000..e3b8b9c9ae2 --- /dev/null +++ b/net-analyzer/barnyard2/files/barnyard2-1.13-Werror.patch @@ -0,0 +1,17 @@ +--- a/configure.in ++++ b/configure.in +@@ -12,14 +12,6 @@ + NO_OPTIMIZE="no" + ADD_WERROR="no" + +-# Test for -Werror and sed it out for now since some of the auto tests, +-# for example AC_CHECK_LIB, will fail because of +-# warning: conflicting types for built-in function +-if eval "echo $CFLAGS | grep -e -Werror"; then +- CFLAGS=`echo $CFLAGS | sed -e "s/-Werror//g"` +- ADD_WERROR="yes" +-fi +- + # Disable annoying practice of recursively re-running the autotools + AM_MAINTAINER_MODE + AC_PROG_CC_STDC