app-text/recode: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics
authorDavid Seifert <soap@gentoo.org>
Wed, 13 Jan 2016 17:33:58 +0000 (18:33 +0100)
committerDavid Seifert <soap@gentoo.org>
Wed, 13 Jan 2016 17:36:17 +0000 (18:36 +0100)
Gentoo-Bug: 571106

Package-Manager: portage-2.2.26

app-text/recode/recode-3.6_p20-r1.ebuild

index 6f8b137d3c6efb00a0232b66d1e44838715c876c..dd1e49df52ddcafc2cdc5e5ebff76c39a77bb11d 100644 (file)
@@ -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" \