public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gpl/, dev-lang/gnat-gpl/files/
Date: Sun, 21 Jun 2020 17:31:32 +0000 (UTC)	[thread overview]
Message-ID: <1592760683.814c45af56e731739e80b56c95699b0ec1682e16.slyfox@gentoo> (raw)

commit:     814c45af56e731739e80b56c95699b0ec1682e16
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 21 17:31:23 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> 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 <slyfox <AT> 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() {


             reply	other threads:[~2020-06-21 17:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-21 17:31 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-26 19:47 [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnat-gpl/, dev-lang/gnat-gpl/files/ Alfredo Tupone
2022-01-01 21:44 Alfredo Tupone
2021-07-11 16:52 Alfredo Tupone
2020-06-21 20:37 Sergei Trofimovich
2019-11-20 20:42 Alfredo Tupone
2019-11-20 19:38 Alfredo Tupone
2019-05-29 17:08 Alfredo Tupone
2018-11-17 14:08 Alfredo Tupone
2017-06-17 15:43 Alfredo Tupone
2017-03-26 19:04 Alfredo Tupone
2017-03-11 20:46 Alfredo Tupone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1592760683.814c45af56e731739e80b56c95699b0ec1682e16.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox