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 AF21613835A for ; Thu, 11 Mar 2021 08:37:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA48AE0986; Thu, 11 Mar 2021 08:37:15 +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 B7730E0986 for ; Thu, 11 Mar 2021 08:37:15 +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 A34F7340DBC for ; Thu, 11 Mar 2021 08:37:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B049573 for ; Thu, 11 Mar 2021 08:37:13 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1615451518.3e14cd8f9d3511f0bad52aaf5e7310222072d75f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/mydns/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/mydns/mydns-1.2.8.31-r2.ebuild X-VCS-Directories: net-dns/mydns/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3e14cd8f9d3511f0bad52aaf5e7310222072d75f X-VCS-Branch: master Date: Thu, 11 Mar 2021 08:37:13 +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: 598a0f2d-dd3a-444a-94b0-860a07e738a6 X-Archives-Hash: ce4fe571cf54321d084399b43160278b commit: 3e14cd8f9d3511f0bad52aaf5e7310222072d75f Author: Sam James gentoo org> AuthorDate: Thu Mar 11 08:31:58 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 11 08:31:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e14cd8f net-dns/mydns: workaround GCC 10 failure Closes: https://bugs.gentoo.org/775134 Signed-off-by: Sam James gentoo.org> net-dns/mydns/mydns-1.2.8.31-r2.ebuild | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/net-dns/mydns/mydns-1.2.8.31-r2.ebuild b/net-dns/mydns/mydns-1.2.8.31-r2.ebuild index 6c69c1c647b..e81a5dfecaf 100644 --- a/net-dns/mydns/mydns-1.2.8.31-r2.ebuild +++ b/net-dns/mydns/mydns-1.2.8.31-r2.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit autotools +inherit autotools flag-o-matic -DESCRIPTION="A DNS-Server which gets its data from a MySQL-/PostgreSQL-database" +DESCRIPTION="A DNS-Server which gets its data from a MySQL/PostgreSQL-database" HOMEPAGE="http://www.mydns.pl/" SRC_URI="mirror://sourceforge/mydns-ng/${P}.tar.gz" @@ -14,14 +14,18 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc x86" IUSE="alias debug nls mysql postgres ssl static status" -RDEPEND="mysql? ( dev-db/mysql-connector-c:= ) +BDEPEND="sys-devel/bison" +RDEPEND=" + virtual/libiconv + mysql? ( dev-db/mysql-connector-c:= ) nls? ( virtual/libintl ) postgres? ( dev-db/postgresql ) ssl? ( dev-libs/openssl:0= ) - virtual/libiconv" -DEPEND="${RDEPEND} +" +DEPEND=" + ${RDEPEND} nls? ( >=sys-devel/gettext-0.12 ) - sys-devel/bison" +" REQUIRED_USE="^^ ( mysql postgres )" @@ -38,6 +42,9 @@ src_prepare() { } src_configure() { + # bug #775134 + append-flags -fcommon + econf \ $(use_enable alias) \ $(use_enable nls) \