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 671391382C5 for ; Sun, 21 Jun 2020 17:31:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95196E0875; Sun, 21 Jun 2020 17:31:35 +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 6AA7CE0875 for ; Sun, 21 Jun 2020 17:31:35 +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 578F934FE28 for ; Sun, 21 Jun 2020 17:31:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9DF21AC for ; Sun, 21 Jun 2020 17:31:32 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1592760683.814c45af56e731739e80b56c95699b0ec1682e16.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gpl/, dev-lang/gnat-gpl/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/gnat-gpl/files/gnat-gpl-2017-libgomp-Werror.patch dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild X-VCS-Directories: dev-lang/gnat-gpl/ dev-lang/gnat-gpl/files/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 814c45af56e731739e80b56c95699b0ec1682e16 X-VCS-Branch: master Date: Sun, 21 Jun 2020 17:31:32 +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: 8240f70c-b4e7-49b7-9ee6-701b31f7971d X-Archives-Hash: 805b90076873715de498acbc04f8e0a3 commit: 814c45af56e731739e80b56c95699b0ec1682e16 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Jun 21 17:31:23 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jun 21 17:31:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=814c45af dev-lang/gnat-gpl: backport libgomp -Werror fix to 2017 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich gentoo.org> .../files/gnat-gpl-2017-libgomp-Werror.patch | 20 ++++++++++++++++++++ dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild | 1 + 2 files changed, 21 insertions(+) diff --git a/dev-lang/gnat-gpl/files/gnat-gpl-2017-libgomp-Werror.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2017-libgomp-Werror.patch new file mode 100644 index 00000000000..416808a63b1 --- /dev/null +++ b/dev-lang/gnat-gpl/files/gnat-gpl-2017-libgomp-Werror.patch @@ -0,0 +1,20 @@ +libgomp does not respect --disable-werror + +https://bugs.gentoo.org/229059 +http://gcc.gnu.org/PR38436 +--- a/libgomp/configure.ac ++++ b/libgomp/configure.ac +@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" + # Add -Wall -Werror if we are using GCC. + if test "x$GCC" = "xyes"; then +- XCFLAGS="$XCFLAGS -Wall -Werror" ++ XCFLAGS="$XCFLAGS -Wall" + fi +--- a/libgomp/configure ++++ b/libgomp/configure +@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" + # Add -Wall -Werror if we are using GCC. + if test "x$GCC" = "xyes"; then +- XCFLAGS="$XCFLAGS -Wall -Werror" ++ XCFLAGS="$XCFLAGS -Wall" + fi diff --git a/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild b/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild index 4e65591d29c..636000b373e 100644 --- a/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild +++ b/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild @@ -125,6 +125,7 @@ src_prepare() { eapply "${FILESDIR}/${P}-ustat.patch" toolchain_src_prepare + eapply "${FILESDIR}"/${P}-libgomp-Werror.patch } src_configure() {