From: Craig Andrews Date: Thu, 9 Jun 2016 17:37:22 +0000 (-0400) Subject: media-video/rtmpdump: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c8b9bb96e2635f97d4d0063fd39b4ee794e3104c;p=gentoo.git 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 --- diff --git a/media-video/rtmpdump/rtmpdump-2.4_p20131018.ebuild b/media-video/rtmpdump/rtmpdump-2.4_p20131018.ebuild index 5e9d26c45754..b0191aeac6be 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 25d5e752db9c..de3ef6a31b14 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"