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
This commit is contained in:
Craig Andrews
2016-06-09 13:37:22 -04:00
committed by Michał Górny
parent 13afd65740
commit c8b9bb96e2
2 changed files with 4 additions and 0 deletions

View 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"

View 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"