media-video/rtmpdump: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics
authorCraig Andrews <candrews@integralblue.com>
Thu, 9 Jun 2016 17:37:22 +0000 (13:37 -0400)
committerMichał Górny <mgorny@gentoo.org>
Sat, 11 Jun 2016 08:12:29 +0000 (10:12 +0200)
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
media-video/rtmpdump/rtmpdump-9999.ebuild

index 5e9d26c45754c417894c6b3dd45d442a42df13c1..b0191aeac6be9138d0cf6b6ad41989502fe03d5a 100644 (file)
@@ -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"
index 25d5e752db9c87138171889f786a1f1096a2d66d..de3ef6a31b14558b1ccc18aa2202b2b60c9d74a5 100644 (file)
@@ -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"