mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-text/recode: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics
Gentoo-Bug: 571106 Package-Manager: portage-2.2.26
This commit is contained in:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user