summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-01-13 18:33:58 +0100
committerDavid Seifert <soap@gentoo.org>2016-01-13 18:36:17 +0100
commit4f72374f506d9ebb0a1f4aa7cc1c9e7a18de31ce (patch)
tree6c79aae2bca30bb6281447a5e7d1dd157b5ca44a /app-text
parentmedia-sound/clementine: Bump to version 1.3_rc1 (bug #571462). (diff)
downloadgentoo-4f72374f506d9ebb0a1f4aa7cc1c9e7a18de31ce.tar.gz
gentoo-4f72374f506d9ebb0a1f4aa7cc1c9e7a18de31ce.tar.bz2
gentoo-4f72374f506d9ebb0a1f4aa7cc1c9e7a18de31ce.zip
app-text/recode: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics
Gentoo-Bug: 571106 Package-Manager: portage-2.2.26
Diffstat (limited to 'app-text')
-rw-r--r--app-text/recode/recode-3.6_p20-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/app-text/recode/recode-3.6_p20-r1.ebuild b/app-text/recode/recode-3.6_p20-r1.ebuild
index 6f8b137d3c6e..dd1e49df52dd 100644
--- a/app-text/recode/recode-3.6_p20-r1.ebuild
+++ b/app-text/recode/recode-3.6_p20-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -31,6 +31,9 @@ RDEPEND=""
S=${WORKDIR}/${MY_P}
src_prepare() {
+ # fix #571106 by restoring pre-GCC5 inline semantics
+ append-cflags -std=gnu89
+
rm "${WORKDIR}"/debian/patches/series || die
epatch \
"${FILESDIR}/${MY_P}-gettextfix.diff" \