summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2024-09-14 17:33:51 +0300
committerAndreas Sturmlechner <asturm@gentoo.org>2024-09-14 21:55:53 +0200
commit773ffba7ffaf7b9e33e3ac92a6871cfb39916383 (patch)
treefef34ed18a01b91612b72932cd75328d94bee73d /media-tv
parentgnustep-apps/gorm: drop 1.3.1 (diff)
downloadgentoo-773ffba7ffaf7b9e33e3ac92a6871cfb39916383.tar.gz
gentoo-773ffba7ffaf7b9e33e3ac92a6871cfb39916383.tar.bz2
gentoo-773ffba7ffaf7b9e33e3ac92a6871cfb39916383.zip
media-tv/kodi: fix gcc-15
Closes: https://bugs.gentoo.org/938531 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/38606 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/kodi/files/kodi-21.1-fix-gcc15.patch116
-rw-r--r--media-tv/kodi/kodi-21.1.ebuild1
2 files changed, 117 insertions, 0 deletions
diff --git a/media-tv/kodi/files/kodi-21.1-fix-gcc15.patch b/media-tv/kodi/files/kodi-21.1-fix-gcc15.patch
new file mode 100644
index 000000000000..5ab776e70f50
--- /dev/null
+++ b/media-tv/kodi/files/kodi-21.1-fix-gcc15.patch
@@ -0,0 +1,116 @@
+https://bugs.gentoo.org/938531
+https://github.com/xbmc/xbmc/pull/25735
+
+From 75e7b25883af5d2c8c89dbe6d830a5c17e9452f2 Mon Sep 17 00:00:00 2001
+From: Alfred Wingate <parona@protonmail.com>
+Date: Sat, 14 Sep 2024 13:46:25 +0300
+Subject: [PATCH] Include missing <cstdint> includes
+
+* GCC-15 stopped implicitly including it.
+
+Signed-off-by: Alfred Wingate <parona@protonmail.com>
+--- a/xbmc/ContextMenuItem.h
++++ b/xbmc/ContextMenuItem.h
+@@ -8,6 +8,7 @@
+
+ #pragma once
+
++#include <cstdint>
+ #include <map>
+ #include <memory>
+ #include <string>
+--- a/xbmc/addons/AddonManager.h
++++ b/xbmc/addons/AddonManager.h
+@@ -11,6 +11,7 @@
+ #include "threads/CriticalSection.h"
+ #include "utils/EventStream.h"
+
++#include <cstdint>
+ #include <map>
+ #include <memory>
+ #include <mutex>
+--- a/xbmc/addons/IAddon.h
++++ b/xbmc/addons/IAddon.h
+@@ -8,6 +8,7 @@
+
+ #pragma once
+
++#include <cstdint>
+ #include <map>
+ #include <memory>
+ #include <string>
+--- a/xbmc/cores/RetroPlayer/streams/RetroPlayerVideo.h
++++ b/xbmc/cores/RetroPlayer/streams/RetroPlayerVideo.h
+@@ -11,6 +11,8 @@
+ #include "IRetroPlayerStream.h"
+ #include "cores/RetroPlayer/RetroPlayerTypes.h"
+
++#include <cstdint>
++
+ extern "C"
+ {
+ #include <libavutil/pixfmt.h>
+--- a/xbmc/cores/VideoPlayer/VideoRenderers/VideoShaders/ConversionMatrix.h
++++ b/xbmc/cores/VideoPlayer/VideoRenderers/VideoShaders/ConversionMatrix.h
+@@ -10,6 +10,7 @@
+
+ #include <array>
+ #include <cmath>
++#include <cstdint>
+ #include <memory>
+
+ extern "C" {
+--- a/xbmc/guilib/FFmpegImage.h
++++ b/xbmc/guilib/FFmpegImage.h
+@@ -9,6 +9,8 @@
+ #pragma once
+
+ #include "iimage.h"
++
++#include <cstdint>
+ #include <memory>
+
+ extern "C"
+--- a/xbmc/input/keymaps/remote/IRTranslator.h
++++ b/xbmc/input/keymaps/remote/IRTranslator.h
+@@ -8,6 +8,7 @@
+
+ #pragma once
+
++#include <cstdint>
+ #include <map>
+ #include <memory>
+ #include <string>
+--- a/xbmc/messaging/ThreadMessage.h
++++ b/xbmc/messaging/ThreadMessage.h
+@@ -8,6 +8,7 @@
+
+ #pragma once
+
++#include <cstdint>
+ #include <memory>
+ #include <string>
+ #include <utility>
+--- a/xbmc/settings/AdvancedSettings.h
++++ b/xbmc/settings/AdvancedSettings.h
+@@ -13,6 +13,7 @@
+ #include "settings/lib/ISettingsHandler.h"
+ #include "utils/SortUtils.h"
+
++#include <cstdint>
+ #include <set>
+ #include <string>
+ #include <utility>
+--- a/xbmc/utils/Archive.h
++++ b/xbmc/utils/Archive.h
+@@ -8,6 +8,7 @@
+
+ #pragma once
+
++#include <cstdint>
+ #include <cstring>
+ #include <memory>
+ #include <string>
+--
+2.46.0
+
diff --git a/media-tv/kodi/kodi-21.1.ebuild b/media-tv/kodi/kodi-21.1.ebuild
index 09ed7be38e5e..7fb0e97e5bdf 100644
--- a/media-tv/kodi/kodi-21.1.ebuild
+++ b/media-tv/kodi/kodi-21.1.ebuild
@@ -278,6 +278,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/kodi-21-optional-ffmpeg-libx11.patch
"${FILESDIR}"/kodi-21.1-silence-libdvdread-git.patch
+ "${FILESDIR}"/kodi-21.1-fix-gcc15.patch
)
# bug #544020