summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2016-06-09 13:37:22 -0400
committerMichał Górny <mgorny@gentoo.org>2016-06-11 10:12:29 +0200
commitc8b9bb96e2635f97d4d0063fd39b4ee794e3104c (patch)
tree4941f09d1f97cf6aa585e63cc31f55e7c0e4f847 /media-video/rtmpdump
parentapp-text/htmltidy: fix security bug 561452 (diff)
downloadgentoo-c8b9bb96e2635f97d4d0063fd39b4ee794e3104c.tar.gz
gentoo-c8b9bb96e2635f97d4d0063fd39b4ee794e3104c.tar.bz2
gentoo-c8b9bb96e2635f97d4d0063fd39b4ee794e3104c.zip
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
Diffstat (limited to 'media-video/rtmpdump')
-rw-r--r--media-video/rtmpdump/rtmpdump-2.4_p20131018.ebuild2
-rw-r--r--media-video/rtmpdump/rtmpdump-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
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"