summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 )