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 548EC1382C5 for ; Tue, 15 Jun 2021 03:20:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 271D4E08CD; Tue, 15 Jun 2021 03:20:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D7A01E08CD for ; Tue, 15 Jun 2021 03:20:37 +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 9BDCD335C29 for ; Tue, 15 Jun 2021 03:20:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 253C3794 for ; Tue, 15 Jun 2021 03:20:35 +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: <1623727187.35f3c535b370e4965ae9d5c40021767029f91122.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xapian/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/xapian/xapian-1.2.25.ebuild X-VCS-Directories: dev-libs/xapian/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 35f3c535b370e4965ae9d5c40021767029f91122 X-VCS-Branch: master Date: Tue, 15 Jun 2021 03:20:35 +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: 8ec9573d-89c8-47a4-b078-0976a1a9f49c X-Archives-Hash: 275b0bbb02995896783fef4a83d96424 commit: 35f3c535b370e4965ae9d5c40021767029f91122 Author: Sam James gentoo org> AuthorDate: Tue Jun 15 03:19:47 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jun 15 03:19:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f3c535 dev-libs/xapian: workaround build failure with GCC 11 for 1.2.25 Force C++14 for now. This is an older version we'll be cleaning up soon, but we may as well let it build. Newer versions are fine. (Also, this style of error usually results in a noisy patch.) Closes: https://bugs.gentoo.org/789390 Signed-off-by: Sam James gentoo.org> dev-libs/xapian/xapian-1.2.25.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-libs/xapian/xapian-1.2.25.ebuild b/dev-libs/xapian/xapian-1.2.25.ebuild index 6fb5b447284..c756a3c880b 100644 --- a/dev-libs/xapian/xapian-1.2.25.ebuild +++ b/dev-libs/xapian/xapian-1.2.25.ebuild @@ -3,7 +3,7 @@ EAPI="6" -inherit multilib-minimal +inherit flag-o-matic multilib-minimal MY_P="${PN}-core-${PV}" @@ -24,6 +24,10 @@ S="${WORKDIR}/${MY_P}" multilib_src_configure() { local myconf="" + # "brass_check.cc:40:48: error: reference to ‘byte’ is ambiguous" + # bug #789390 + append-cxxflags -std=c++14 + if use cpu_flags_x86_sse2; then myconf="${myconf} --enable-sse=sse2" else