games-engines/qtads-2.1.7-r1: fix build with GCC 7
authorNikos Chantziaras <realnc@gmail.com>
Sun, 29 Apr 2018 19:12:41 +0000 (22:12 +0300)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 16 May 2018 08:17:42 +0000 (10:17 +0200)
Current version of QTads cannot be built with GCC 7. The next version will
fix that, but for now, we need -fpermissive.

Closes: https://bugs.gentoo.org/654356
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8208

games-engines/qtads/qtads-2.1.7-r1.ebuild

index 521b932662cb70565bac1338380c7c723ea2087b..500c1f64211d1dd5579ebda01df4646617dfd6a0 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit gnome2-utils qmake-utils xdg
+inherit gnome2-utils qmake-utils xdg flag-o-matic
 
 DESCRIPTION="Multimedia interpreter for TADS text adventures"
 HOMEPAGE="http://qtads.sourceforge.net"
@@ -21,6 +21,8 @@ DEPEND="media-libs/libsdl[sound]
 RDEPEND="${DEPEND}"
 
 src_configure() {
+       # bug 654356 temp fix
+       append-cxxflags -fpermissive
        eqmake5 qtads.pro -after CONFIG-=silent
 }