summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-10-10 11:10:52 +0200
committerJeroen Roovers <jer@gentoo.org>2016-10-10 11:10:52 +0200
commit2c987ea2946b7e08c543e48a0729bb9fdc1f1fb2 (patch)
tree00ea67255e3f27a8cba28f42b490da975df7ad71 /sys-apps/spu-tools
parentsys-boot/palo: Update live ebuild. (diff)
downloadgentoo-2c987ea2946b7e08c543e48a0729bb9fdc1f1fb2.tar.gz
gentoo-2c987ea2946b7e08c543e48a0729bb9fdc1f1fb2.tar.bz2
gentoo-2c987ea2946b7e08c543e48a0729bb9fdc1f1fb2.zip
sys-apps/spu-tools: Fix building with GCC-5.
Package-Manager: portage-2.3.1
Diffstat (limited to 'sys-apps/spu-tools')
-rw-r--r--sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild b/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild
index c5b73f1bacbd..c67eaa47d9fd 100644
--- a/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild
+++ b/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-inherit eutils toolchain-funcs
+inherit eutils flag-o-matic toolchain-funcs
MY_P=${P/_p/-}
@@ -15,11 +15,14 @@ SRC_URI="mirror://sourceforge/libspe/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ppc ppc64"
-IUSE=""
-RDEPEND="sys-libs/ncurses:0="
-DEPEND="${RDEPEND}
- sys-apps/help2man"
+RDEPEND="
+ sys-libs/ncurses:0=
+"
+DEPEND="
+ ${RDEPEND}
+ sys-apps/help2man
+"
S="${WORKDIR}/${PN}/src"
@@ -28,6 +31,7 @@ src_prepare() {
"${FILESDIR}"/${P}-buildsystem.patch \
"${FILESDIR}"/${P}-format-security.patch
tc-export CC
+ append-cppflags -std=gnu89
export CFLAGS="${CFLAGS}"
export LDFLAGS="${LDFLAGS}"
export LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)"