From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1117155-garchives=archives.gentoo.org@lists.gentoo.org> 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 544F5138334 for <garchives@archives.gentoo.org>; Wed, 16 Oct 2019 11:36:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FA3EE0900; Wed, 16 Oct 2019 11:36:56 +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 56E12E0900 for <gentoo-commits@lists.gentoo.org>; Wed, 16 Oct 2019 11:36:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E8A5134BD99 for <gentoo-commits@lists.gentoo.org>; Wed, 16 Oct 2019 11:36:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 828E772F for <gentoo-commits@lists.gentoo.org>; Wed, 16 Oct 2019 11:36:52 +0000 (UTC) From: "Michael Orlitzky" <mjo@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" <mjo@gentoo.org> Message-ID: <1571225491.5114e1838d8531ebce400e668efec476b1c0815c.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-antivirus/clamav/clamav-0.102.0-r1.ebuild app-antivirus/clamav/clamav-0.102.0.ebuild X-VCS-Directories: app-antivirus/clamav/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 5114e1838d8531ebce400e668efec476b1c0815c X-VCS-Branch: master Date: Wed, 16 Oct 2019 11:36:52 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6faadce1-3480-48ac-971c-a962cd6f9750 X-Archives-Hash: 85680ee6916f0906bc6a3c8f4e8815ea commit: 5114e1838d8531ebce400e668efec476b1c0815c Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Wed Oct 16 11:24:26 2019 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Wed Oct 16 11:31:31 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5114e183 app-antivirus/clamav: remove --disable-gcc-vcheck from configure flags. Our ClamAV builds have passed the --disable-gcc-vcheck flag to its configure script for a while. This is intended to skip a (pointless, on Gentoo) test for old broken versions of GCC, but accidentally leads to "-O0" being inserted into the CFLAGS. That in turn causes noticeable performance degradation. Since the GCC version check is harmless aside from some wasted time, it seems the simplest solution here is to drop "--disable-gcc-vcheck" from the build. This commit adds a new revision of the latest unstable version that does just that. Closes: https://bugs.gentoo.org/670828 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> .../{clamav-0.102.0.ebuild => clamav-0.102.0-r1.ebuild} | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app-antivirus/clamav/clamav-0.102.0.ebuild b/app-antivirus/clamav/clamav-0.102.0-r1.ebuild similarity index 95% rename from app-antivirus/clamav/clamav-0.102.0.ebuild rename to app-antivirus/clamav/clamav-0.102.0-r1.ebuild index 85d704dacfe..1d65b447b4d 100644 --- a/app-antivirus/clamav/clamav-0.102.0.ebuild +++ b/app-antivirus/clamav/clamav-0.102.0-r1.ebuild @@ -74,12 +74,12 @@ src_configure() { JSONUSE="" if [ use clamsubmit ] || [ use metadata-analysis-api ]; then - # either of those 2 requires libjson. - # clamsubmit will be built as soon as libjson and curl are found - # but we only install the binary if requested - JSONUSE="--with-libjson=/usr" + # either of those 2 requires libjson. + # clamsubmit will be built as soon as libjson and curl are found + # but we only install the binary if requested + JSONUSE="--with-libjson=/usr" else - JSONUSE="--without-libjson" + JSONUSE="--without-libjson" fi econf \ @@ -98,7 +98,6 @@ src_configure() { --with-system-libmspack \ --cache-file="${S}"/config.cache \ --disable-experimental \ - --disable-gcc-vcheck \ --disable-zlib-vcheck \ --enable-id-check \ --with-dbdir="${EPREFIX}"/var/lib/clamav \