diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-06-21 18:31:23 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-06-21 18:31:23 +0100 |
commit | 814c45af56e731739e80b56c95699b0ec1682e16 (patch) | |
tree | cce5286a6789d819a23ae0b89b49dfcb015bce7a /dev-lang | |
parent | media-sound/murmur: amd64 stable wrt bug #727598 (diff) | |
download | gentoo-814c45af56e731739e80b56c95699b0ec1682e16.tar.gz gentoo-814c45af56e731739e80b56c95699b0ec1682e16.tar.bz2 gentoo-814c45af56e731739e80b56c95699b0ec1682e16.zip |
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@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/gnat-gpl/files/gnat-gpl-2017-libgomp-Werror.patch | 20 | ||||
-rw-r--r-- | dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild | 1 |
2 files changed, 21 insertions, 0 deletions
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 000000000000..416808a63b15 --- /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 4e65591d29ce..636000b373ea 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() { |