summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarlson2k (Evgeny Grin) <k2k@narod.ru>2023-10-18 10:52:22 +0300
committerSam James <sam@gentoo.org>2023-10-27 04:19:01 +0100
commit1990b571b022a3375f32013aadf4d01be5e0fb1d (patch)
treec890ef615ba3940a4028e9cb2da6737a71118cce /media-plugins
parentmedia-plugins/kodi-inputstream-adaptive: fixed build with GCC 13 (diff)
downloadgentoo-1990b571b022a3375f32013aadf4d01be5e0fb1d.tar.gz
gentoo-1990b571b022a3375f32013aadf4d01be5e0fb1d.tar.bz2
gentoo-1990b571b022a3375f32013aadf4d01be5e0fb1d.zip
media-plugins/kodi-inputstream-ffmpegdirect: fixed build with GCC 13
Closes: https://bugs.gentoo.org/915943 Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru> Closes: https://github.com/gentoo/gentoo/pull/33387 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/kodi-inputstream-ffmpegdirect/files/kodi-inputstream-ffmpegdirect-19.0.0-gcc-13-fix.patch28
-rw-r--r--media-plugins/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect-19.0.0.ebuild4
2 files changed, 32 insertions, 0 deletions
diff --git a/media-plugins/kodi-inputstream-ffmpegdirect/files/kodi-inputstream-ffmpegdirect-19.0.0-gcc-13-fix.patch b/media-plugins/kodi-inputstream-ffmpegdirect/files/kodi-inputstream-ffmpegdirect-19.0.0-gcc-13-fix.patch
new file mode 100644
index 000000000000..3d8ce9ac715b
--- /dev/null
+++ b/media-plugins/kodi-inputstream-ffmpegdirect/files/kodi-inputstream-ffmpegdirect-19.0.0-gcc-13-fix.patch
@@ -0,0 +1,28 @@
+Fix build with GCC 13
+
+Gentoo bug https://bugs.gentoo.org/915943
+
+Author: Karlson2k (Evgeny Grin)
+
+diff -ur inputstream.ffmpegdirect-19.0.0-Matrix-orig/src/utils/DiskUtils.h inputstream.ffmpegdirect-19.0.0-Matrix/src/utils/DiskUtils.h
+--- inputstream.ffmpegdirect-19.0.0-Matrix-orig/src/utils/DiskUtils.h 2021-09-14 17:23:56.000000000 +0300
++++ inputstream.ffmpegdirect-19.0.0-Matrix/src/utils/DiskUtils.h 2023-10-18 10:40:27.386513580 +0300
+@@ -7,6 +7,7 @@
+
+ #pragma once
+
++#include <cstdint>
+ #include <string>
+
+ namespace ffmpegdirect
+diff -ur inputstream.ffmpegdirect-19.0.0-Matrix-orig/src/utils/HttpProxy.h inputstream.ffmpegdirect-19.0.0-Matrix/src/utils/HttpProxy.h
+--- inputstream.ffmpegdirect-19.0.0-Matrix-orig/src/utils/HttpProxy.h 2021-09-14 17:23:56.000000000 +0300
++++ inputstream.ffmpegdirect-19.0.0-Matrix/src/utils/HttpProxy.h 2023-10-18 10:39:14.777829910 +0300
+@@ -7,6 +7,7 @@
+
+ #pragma once
+
++#include <cstdint>
+ #include <string>
+
+ namespace ffmpegdirect
diff --git a/media-plugins/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect-19.0.0.ebuild b/media-plugins/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect-19.0.0.ebuild
index 844c44dfcc43..a94dd62064e4 100644
--- a/media-plugins/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect-19.0.0.ebuild
+++ b/media-plugins/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect-19.0.0.ebuild
@@ -28,6 +28,10 @@ LICENSE="GPL-2"
SLOT="0"
IUSE=""
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc-13-fix.patch # Bug 915943
+)
+
BDEPEND="
virtual/pkgconfig
"