summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-28 16:56:04 +0100
committerSam James <sam@gentoo.org>2022-10-28 16:56:04 +0100
commit541281ddd0bef7dcefe265cec675ea8710e5fb68 (patch)
treeaa47ea2c151f73ce4502cacd310c5db3b24f4b2c /media-video/vlc
parentmedia-video/vlc: sync live (diff)
downloadgentoo-541281ddd0bef7dcefe265cec675ea8710e5fb68.tar.gz
gentoo-541281ddd0bef7dcefe265cec675ea8710e5fb68.tar.bz2
gentoo-541281ddd0bef7dcefe265cec675ea8710e5fb68.zip
media-video/vlc: fix build w/ gcc 13
Closes: https://bugs.gentoo.org/875785 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/vlc')
-rw-r--r--media-video/vlc/files/vlc-3.0.17.4-gcc13.patch20
-rw-r--r--media-video/vlc/vlc-3.0.17.4-r2.ebuild1
2 files changed, 21 insertions, 0 deletions
diff --git a/media-video/vlc/files/vlc-3.0.17.4-gcc13.patch b/media-video/vlc/files/vlc-3.0.17.4-gcc13.patch
new file mode 100644
index 000000000000..374cd5ada0ac
--- /dev/null
+++ b/media-video/vlc/files/vlc-3.0.17.4-gcc13.patch
@@ -0,0 +1,20 @@
+https://code.videolan.org/robUx4/vlc/-/commit/6fca76ebd76bf8fce9b111e31bda64015cdc770f
+https://bugs.gentoo.org/875785
+
+From 6fca76ebd76bf8fce9b111e31bda64015cdc770f Mon Sep 17 00:00:00 2001
+From: Johannes Kauffmann <johanneskauffmann@hotmail.com>
+Date: Mon, 11 Jul 2022 19:35:57 +0000
+Subject: [PATCH] demux: dash: include cstdint, needed for uint64_t
+
+Fixes #27077.
+--- a/modules/demux/dash/mpd/TemplatedUri.hpp
++++ b/modules/demux/dash/mpd/TemplatedUri.hpp
+@@ -21,6 +21,7 @@
+ #ifndef TEMPLATEDURI_HPP
+ #define TEMPLATEDURI_HPP
+
++#include <cstdint>
+ #include <string>
+
+ namespace dash
+GitLab
diff --git a/media-video/vlc/vlc-3.0.17.4-r2.ebuild b/media-video/vlc/vlc-3.0.17.4-r2.ebuild
index 2d22452092cf..824a5c251898 100644
--- a/media-video/vlc/vlc-3.0.17.4-r2.ebuild
+++ b/media-video/vlc/vlc-3.0.17.4-r2.ebuild
@@ -232,6 +232,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.0.11.1-configure_lua_version.patch
"${FILESDIR}"/${PN}-3.0.14-fix-live-address-api.patch # bug 835072
"${FILESDIR}"/${PN}-3.0.17.3-dav1d-1.0.0.patch # bug 835787
+ "${FILESDIR}"/${PN}-3.0.17.4-gcc13.patch # bug 875785
)
DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt )