commit: c8b9bb96e2635f97d4d0063fd39b4ee794e3104c Author: Craig Andrews <candrews <AT> integralblue <DOT> com> AuthorDate: Thu Jun 9 17:37:22 2016 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Jun 11 08:12:29 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8b9bb96
media-video/rtmpdump: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics Bug: https://bugs.gentoo.org/571106 Pull-Request: https://github.com/gentoo/gentoo/pull/1644 Package-Manager: portage-2.3.0_rc1 media-video/rtmpdump/rtmpdump-2.4_p20131018.ebuild | 2 ++ media-video/rtmpdump/rtmpdump-9999.ebuild | 2 ++ 2 files changed, 4 insertions(+) diff --git a/media-video/rtmpdump/rtmpdump-2.4_p20131018.ebuild b/media-video/rtmpdump/rtmpdump-2.4_p20131018.ebuild index 5e9d26c..b0191ae 100644 --- a/media-video/rtmpdump/rtmpdump-2.4_p20131018.ebuild +++ b/media-video/rtmpdump/rtmpdump-2.4_p20131018.ebuild @@ -38,6 +38,8 @@ src_unpack() { } src_prepare() { + # fix #571106 by restoring pre-GCC5 inline semantics + append-cflags -std=gnu89 # fix Makefile ( bug #298535 , bug #318353 and bug #324513 ) sed -i 's/\$(MAKEFLAGS)//g' Makefile \ || die "failed to fix Makefile" diff --git a/media-video/rtmpdump/rtmpdump-9999.ebuild b/media-video/rtmpdump/rtmpdump-9999.ebuild index 25d5e75..de3ef6a 100644 --- a/media-video/rtmpdump/rtmpdump-9999.ebuild +++ b/media-video/rtmpdump/rtmpdump-9999.ebuild @@ -32,6 +32,8 @@ pkg_setup() { } src_prepare() { + # fix #571106 by restoring pre-GCC5 inline semantics + append-cflags -std=gnu89 # fix Makefile ( bug #298535 , bug #318353 and bug #324513 ) sed -i 's/\$(MAKEFLAGS)//g' Makefile \ || die "failed to fix Makefile"