diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-06-21 21:36:50 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-06-21 21:37:11 +0100 |
commit | 4c879dd8a26aa2227f51921164ac928f737dd126 (patch) | |
tree | dbe1e710ef7e0e8100e65092cbc6edb46ccc146b /dev-lang/gnat-gpl | |
parent | dev-python/tox: x86 stable (bug #727374) (diff) | |
download | gentoo-4c879dd8a26aa2227f51921164ac928f737dd126.tar.gz gentoo-4c879dd8a26aa2227f51921164ac928f737dd126.tar.bz2 gentoo-4c879dd8a26aa2227f51921164ac928f737dd126.zip |
dev-lang/gnat-gpl: backport libatomic/libitm -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/gnat-gpl')
-rw-r--r-- | dev-lang/gnat-gpl/files/gnat-gpl-2017-libatomic-Werror.patch | 19 | ||||
-rw-r--r-- | dev-lang/gnat-gpl/files/gnat-gpl-2017-libitm-Werror.patch | 19 | ||||
-rw-r--r-- | dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild | 2 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-lang/gnat-gpl/files/gnat-gpl-2017-libatomic-Werror.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2017-libatomic-Werror.patch new file mode 100644 index 000000000000..0550722d170b --- /dev/null +++ b/dev-lang/gnat-gpl/files/gnat-gpl-2017-libatomic-Werror.patch @@ -0,0 +1,19 @@ +libatomic does not respect --disable-werror + +https://bugs.gentoo.org/475350 +--- a/libatomic/configure.ac ++++ b/libatomic/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/libatomic/configure ++++ b/libatomic/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/files/gnat-gpl-2017-libitm-Werror.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2017-libitm-Werror.patch new file mode 100644 index 000000000000..27181e02cfbd --- /dev/null +++ b/dev-lang/gnat-gpl/files/gnat-gpl-2017-libitm-Werror.patch @@ -0,0 +1,19 @@ +libitm does not respect --disable-werror + +https://bugs.gentoo.org/475350 +--- a/libitm/configure.ac ++++ b/libitm/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/libitm/configure ++++ b/libitm/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 636000b373ea..bff11256c1f6 100644 --- a/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild +++ b/dev-lang/gnat-gpl/gnat-gpl-2017-r1.ebuild @@ -126,6 +126,8 @@ src_prepare() { toolchain_src_prepare eapply "${FILESDIR}"/${P}-libgomp-Werror.patch + eapply "${FILESDIR}"/${P}-libatomic-Werror.patch + eapply "${FILESDIR}"/${P}-libitm-Werror.patch } src_configure() { |