diff options
author | Sam James <sam@gentoo.org> | 2022-05-12 20:42:22 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-05-12 20:42:51 +0000 |
commit | 8bf393aded52c35ade125bc216310cd54e8f5b2a (patch) | |
tree | 42e196d893c336cab82cae7cd84b82e1d0bfdcb7 /media-video/rtmpdump | |
parent | dev-db/mariadb: bump to 10.5.15 (diff) | |
download | gentoo-8bf393aded52c35ade125bc216310cd54e8f5b2a.tar.gz gentoo-8bf393aded52c35ade125bc216310cd54e8f5b2a.tar.bz2 gentoo-8bf393aded52c35ade125bc216310cd54e8f5b2a.zip |
media-video/rtmpdump: fix build with GCC 11
Think it's 11+ specific (obviously these things depend
heavily on env. as it's to do with transitive includes), but
only occurs with *just* USE=tools enabled.
Closes: https://bugs.gentoo.org/828082
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/rtmpdump')
-rw-r--r-- | media-video/rtmpdump/files/rtmpdump-2.4_p20210219-gcc-11-missing-include.patch | 23 | ||||
-rw-r--r-- | media-video/rtmpdump/rtmpdump-2.4_p20210219.ebuild | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/media-video/rtmpdump/files/rtmpdump-2.4_p20210219-gcc-11-missing-include.patch b/media-video/rtmpdump/files/rtmpdump-2.4_p20210219-gcc-11-missing-include.patch new file mode 100644 index 000000000000..4325ed07381f --- /dev/null +++ b/media-video/rtmpdump/files/rtmpdump-2.4_p20210219-gcc-11-missing-include.patch @@ -0,0 +1,23 @@ +https://bugs.gentoo.org/828082 +--- a/librtmp/rtmp.c ++++ b/librtmp/rtmp.c +@@ -28,6 +28,7 @@ + #include <string.h> + #include <assert.h> + #include <time.h> ++#include <limits.h> + + #include "rtmp_sys.h" + #include "log.h" +diff --git a/librtmp/hashswf.c b/librtmp/hashswf.c +index 32b2eed..e3669e3 100644 +--- a/librtmp/hashswf.c ++++ b/librtmp/hashswf.c +@@ -25,6 +25,7 @@ + #include <string.h> + #include <ctype.h> + #include <time.h> ++#include <limits.h> + + #include "rtmp_sys.h" + #include "log.h" diff --git a/media-video/rtmpdump/rtmpdump-2.4_p20210219.ebuild b/media-video/rtmpdump/rtmpdump-2.4_p20210219.ebuild index edd05e9dc2dd..58193c77d1ee 100644 --- a/media-video/rtmpdump/rtmpdump-2.4_p20210219.ebuild +++ b/media-video/rtmpdump/rtmpdump-2.4_p20210219.ebuild @@ -27,6 +27,7 @@ PATCHES=( "${FILESDIR}/${PN}-swf_vertification_type_2.patch" "${FILESDIR}/${PN}-swf_vertification_type_2_part_2.patch" "${FILESDIR}/${PN}-fix-chunk-size.patch" + "${FILESDIR}/${PN}-2.4_p20210219-gcc-11-missing-include.patch" ) if [[ ${PV} == *9999 ]] ; then |