diff options
author | David Seifert <soap@gentoo.org> | 2016-02-12 19:20:37 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-02-12 19:21:40 +0100 |
commit | 2979d56b93349818905e2a04a7aad7d7acb1a46c (patch) | |
tree | ee49de22150b4c5b685fe19edec6f3ec6e71fb38 /media-sound/gnac | |
parent | dev-java/tomcat-native: removed obsolete ebuilds (diff) | |
download | gentoo-2979d56b93349818905e2a04a7aad7d7acb1a46c.tar.gz gentoo-2979d56b93349818905e2a04a7aad7d7acb1a46c.tar.bz2 gentoo-2979d56b93349818905e2a04a7aad7d7acb1a46c.zip |
media-sound/gnac: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics
Gentoo-Bug: 574568
* Added PATCHES array, such that switching to EAPI=6
is facilitated once gnome2.eclass is ready
Package-Manager: portage-2.2.27
Diffstat (limited to 'media-sound/gnac')
-rw-r--r-- | media-sound/gnac/gnac-0.2.4.1.ebuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/media-sound/gnac/gnac-0.2.4.1.ebuild b/media-sound/gnac/gnac-0.2.4.1.ebuild index 6ee40a00f04e..0b74c860f0cf 100644 --- a/media-sound/gnac/gnac-0.2.4.1.ebuild +++ b/media-sound/gnac/gnac-0.2.4.1.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 autotools gnome2 +inherit autotools eutils flag-o-matic gnome2 DESCRIPTION="Audio converter for GNOME" HOMEPAGE="http://gnac.sourceforge.net/" @@ -34,10 +34,17 @@ DEPEND="${RDEPEND} virtual/pkgconfig nls? ( sys-devel/gettext ) " +PATCHES=( + "${FILESDIR}/${P}-cflags.patch" + "${FILESDIR}/${P}-nls.patch" +) src_prepare() { - epatch "${FILESDIR}"/${P}-cflags.patch - epatch "${FILESDIR}"/${P}-nls.patch + default + epatch -p1 "${PATCHES[@]}" + + # fix bug 574568 by restoring pre-GCC5 inline semantics + append-cflags -std=gnu89 eautoreconf gnome2_src_prepare |