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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 43DE715ACFB for ; Wed, 26 Apr 2023 02:21:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92B41E0866; Wed, 26 Apr 2023 02:21:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79F30E0866 for ; Wed, 26 Apr 2023 02:21:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 84D8E340F69 for ; Wed, 26 Apr 2023 02:21:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 002AB920 for ; Wed, 26 Apr 2023 02:21:07 +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: <1682475054.f688df5100ef2b88c975ecd40fd343c62e2ab276.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/pango/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/pango/pango-1.50.14.ebuild X-VCS-Directories: x11-libs/pango/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f688df5100ef2b88c975ecd40fd343c62e2ab276 X-VCS-Branch: master Date: Wed, 26 Apr 2023 02:21:07 +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: 6712cdc1-f2f1-4a37-a79c-ff18f13d2191 X-Archives-Hash: c4762abf62ec11ae0acedbf58e85a5df commit: f688df5100ef2b88c975ecd40fd343c62e2ab276 Author: Sam James gentoo org> AuthorDate: Wed Apr 26 02:10:54 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Apr 26 02:10:54 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f688df51 x11-libs/pango: workaround -Werror=array-bounds issue w/ GCC 13 Seems to be a false positive. Reported upstream by Adrien at https://gitlab.gnome.org/GNOME/pango/-/issues/740. Happens w/ GCC 13 combined with -O3 at least but may happen for other combinations too. Can't append -Wno-error=... because of the order the flags are added, unfortunately. Closes: https://bugs.gentoo.org/903259 Signed-off-by: Sam James gentoo.org> x11-libs/pango/pango-1.50.14.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x11-libs/pango/pango-1.50.14.ebuild b/x11-libs/pango/pango-1.50.14.ebuild index 6160dd53090e..690dbbb2d084 100644 --- a/x11-libs/pango/pango-1.50.14.ebuild +++ b/x11-libs/pango/pango-1.50.14.ebuild @@ -45,6 +45,10 @@ src_prepare() { default xdg_environment_reset gnome2_environment_reset + + # False positive with GCC 13 and -O3 at least, see bug #903259 + # https://gitlab.gnome.org/GNOME/pango/-/issues/740 + sed -i -e '/\-Werror=array-bounds/d' meson.build || die } multilib_src_configure() {