commit:     7d3e53b80f1169fe55bb95d0a75362aecb1f1d17
Author:     Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 17 17:39:38 2025 +0000
Commit:     Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
CommitDate: Wed Dec 17 17:39:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3e53b8

media-tv/kodi: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org>

 .../files/kodi-22.0_alpha1-fix-curl-8.16.patch     | 32 ----------------------
 1 file changed, 32 deletions(-)

diff --git a/media-tv/kodi/files/kodi-22.0_alpha1-fix-curl-8.16.patch 
b/media-tv/kodi/files/kodi-22.0_alpha1-fix-curl-8.16.patch
deleted file mode 100644
index 393159f2b56a..000000000000
--- a/media-tv/kodi/files/kodi-22.0_alpha1-fix-curl-8.16.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-https://bugs.gentoo.org/962751
-https://github.com/xbmc/xbmc/pull/27224
-
-Modified to apply to 22.0_alpha1 which doesn't include.
-https://github.com/xbmc/xbmc/commit/8a27124db43ec10415b21aa6c7a15b0b6aded656
-
-From 8b44b36f7bfe6e32770c7df5f956a1da9fcaaf61 Mon Sep 17 00:00:00 2001
-From: Achill Gilgenast <[email protected]>
-Date: Wed, 10 Sep 2025 19:16:17 +0200
-Subject: [PATCH] [filesystem] Switch to long for CURLPROXY_* enums
-
-curl 8.16.0 bumped the enums to long, see: 
https://github.com/curl/curl/pull/18054
-
-This fixes the build with curl 8.16+ for the following failure:
-
-       
/builds/alpine/aports/community/kodi/src/xbmc-21.2-Omega/xbmc/filesystem/CurlFile.cpp:48:5:
 error: cannot initialize an array element of type 'curl_proxytype' with an 
rvalue of type 'long'
-          48 |     CURLPROXY_HTTP,   CURLPROXY_SOCKS4,          
CURLPROXY_SOCKS4A,
-             |     ^~~~~~~~~~~~~~
-       /usr/include/curl/curl.h:791:35: note: expanded from macro 
'CURLPROXY_HTTP'
-         791 | #define CURLPROXY_HTTP            0L /* added in 7.10, new in 
7.19.4 default is
-             |                                   ^~
-       ...
---- a/xbmc/filesystem/CurlFile.cpp
-+++ b/xbmc/filesystem/CurlFile.cpp
-@@ -46,7 +46,7 @@ using namespace std::chrono_literals;
- #define FITS_INT(a) (((a) <= INT_MAX) && ((a) >= INT_MIN))
-
--static const auto proxyType2CUrlProxyType = 
std::unordered_map<XFILE::CCurlFile::ProxyType, int>{
-+static const auto proxyType2CUrlProxyType = 
std::unordered_map<XFILE::CCurlFile::ProxyType, long>{
-     {CCurlFile::ProxyType::HTTP, CURLPROXY_HTTP},
-     {CCurlFile::ProxyType::SOCKS4, CURLPROXY_SOCKS4},
-     {CCurlFile::ProxyType::SOCKS4A, CURLPROXY_SOCKS4A},

Reply via email to