summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-04-02 23:22:31 +0200
committerDavid Seifert <soap@gentoo.org>2016-04-02 23:22:31 +0200
commitfec653cc75b95b4cbf48e16f1c0bf7999454f54c (patch)
treed10ae5af27b3b529085b548c0c0991419fbc40b9 /dev-cpp/gccxml
parentgames-arcade/commandergenius: version bump (diff)
downloadgentoo-fec653cc75b95b4cbf48e16f1c0bf7999454f54c.tar.gz
gentoo-fec653cc75b95b4cbf48e16f1c0bf7999454f54c.tar.bz2
gentoo-fec653cc75b95b4cbf48e16f1c0bf7999454f54c.zip
dev-cpp/gccxml: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics
Gentoo-Bug: 549300 * EAPI=6 Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-cpp/gccxml')
-rw-r--r--dev-cpp/gccxml/gccxml-0.9.0_pre20131217.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-cpp/gccxml/gccxml-0.9.0_pre20131217.ebuild b/dev-cpp/gccxml/gccxml-0.9.0_pre20131217.ebuild
index 5eab5992302d..985bfa8280df 100644
--- a/dev-cpp/gccxml/gccxml-0.9.0_pre20131217.ebuild
+++ b/dev-cpp/gccxml/gccxml-0.9.0_pre20131217.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-inherit cmake-utils
+inherit cmake-utils flag-o-matic
DESCRIPTION="XML output extension to GCC"
HOMEPAGE="http://www.gccxml.org/"
@@ -15,6 +15,9 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
src_prepare() {
+ # fix bug 549300 by restoring pre-GCC5 inline semantics
+ append-cflags -std=gnu89
+
# patch below taken from Debian
sed -i \
-e 's/xatexit.c//' \