media-tv/kodi: remove unused patches

Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2025-12-01 21:14:31 +01:00
parent 2aa4d1f6bf
commit 91967fc3aa
2 changed files with 0 additions and 143 deletions

View File

@@ -1,116 +0,0 @@
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

View File

@@ -1,27 +0,0 @@
From: https://github.com/xbmc/xbmc/pull/25863
From 4ff0ba903bed472cddb0d6e5c53c8176cded6b09 Mon Sep 17 00:00:00 2001
From: Rudi Heitbaum <rudi@heitbaum.com>
Date: Mon, 21 Oct 2024 22:10:29 +1100
Subject: [PATCH] [swig] Fix building with swig 4.3.0
swig 4.3.0 has dropped the -xmllang option used with -xml, which had no effect on the output.
Ref:
- https://github.com/swig/swig/commit/86498e46c6a6218a3d091c12513c40076ac2ce63
---
xbmc/interfaces/swig/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xbmc/interfaces/swig/CMakeLists.txt b/xbmc/interfaces/swig/CMakeLists.txt
index 1951b2a336789..46c84c7f7efc5 100644
--- a/xbmc/interfaces/swig/CMakeLists.txt
+++ b/xbmc/interfaces/swig/CMakeLists.txt
@@ -22,7 +22,7 @@ function(generate_file file)
add_custom_command(OUTPUT ${CPP_FILE}
COMMAND ${SWIG_EXECUTABLE}
- ARGS -w401 -c++ -o ${file}.xml -xml -I${CMAKE_SOURCE_DIR}/xbmc -xmllang python ${CMAKE_CURRENT_SOURCE_DIR}/../swig/${file}
+ ARGS -w401 -c++ -o ${file}.xml -xml -I${CMAKE_SOURCE_DIR}/xbmc ${CMAKE_CURRENT_SOURCE_DIR}/../swig/${file}
COMMAND ${Java_JAVA_EXECUTABLE}
ARGS ${JAVA_OPEN_OPTS} -cp "${classpath}" groovy.ui.GroovyMain ${CMAKE_SOURCE_DIR}/tools/codegenerator/Generator.groovy ${file}.xml ${CMAKE_CURRENT_SOURCE_DIR}/../python/PythonSwig.cpp.template ${file}.cpp > ${devnull}
${CLANG_FORMAT_COMMAND}