commit:     fc7a9facd7afd81edbc0d408f53e7e714d2a27d5
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 22:27:11 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 22:27:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc7a9fac

app-text/openjade: Allow for compiling with GCC 6

Gentoo-bug: 592590
* Fix overlong DESCRIPTION

Package-Manager: portage-2.3.0

 app-text/openjade/openjade-1.3.2-r6.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/app-text/openjade/openjade-1.3.2-r6.ebuild 
b/app-text/openjade/openjade-1.3.2-r6.ebuild
index 6f9aba7..f6bd9b7 100644
--- a/app-text/openjade/openjade-1.3.2-r6.ebuild
+++ b/app-text/openjade/openjade-1.3.2-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -6,7 +6,7 @@ EAPI=5
 
 inherit autotools sgml-catalog eutils flag-o-matic multilib
 
-DESCRIPTION="Jade is an implementation of DSSSL - an ISO standard for 
formatting SGML and XML documents"
+DESCRIPTION="Jade is an implementation of DSSSL for formatting SGML and XML 
documents"
 HOMEPAGE="http://openjade.sourceforge.net";
 SRC_URI="mirror://sourceforge/openjade/${P}.tar.gz"
 
@@ -50,6 +50,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # avoids dead-store elimination optimization
+       # leading to segfaults on GCC 6
+       # bug #592590
+       append-cxxflags -fno-lifetime-dse
+
        # We need Prefix env, bug #287358
        export CONFIG_SHELL="${CONFIG_SHELL:-${BASH}}"
        econf \

Reply via email to