All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/3] package/kodi: Fix build with curl 8.16.0
@ 2025-09-11 17:13 Bernd Kuhls
  2025-09-11 17:13 ` [Buildroot] [PATCH 2/3] package/cmake: bump version to 4.0.4 Bernd Kuhls
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Bernd Kuhls @ 2025-09-11 17:13 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni

curl 8.16.0 bumped the enums to long, see
https://github.com/curl/curl/pull/18054

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
v2: added note in patch about patch origin (Baruch)

 package/kodi/0002-curl-8.16.0.patch | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 package/kodi/0002-curl-8.16.0.patch

diff --git a/package/kodi/0002-curl-8.16.0.patch b/package/kodi/0002-curl-8.16.0.patch
new file mode 100644
index 0000000000..31ffa7b964
--- /dev/null
+++ b/package/kodi/0002-curl-8.16.0.patch
@@ -0,0 +1,24 @@
+Fix build with curl 8.16.0
+
+Downloaded from
+https://gitlab.alpinelinux.org/alpine/aports/-/commit/106a02411488e3f71b9f2085a4a857e4be27b9ea
+
+Upstream: https://github.com/xbmc/xbmc/pull/27224
+
+The upstream patch is aimed at the upcoming release of Kodi 22.0 which
+saw many changes to CurlFile.cpp so we use the fix from Alpine.
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+
+--- a/xbmc/filesystem/CurlFile.cpp
++++ b/xbmc/filesystem/CurlFile.cpp
+@@ -44,7 +44,7 @@ using namespace std::chrono_literals;
+ 
+ #define FITS_INT(a) (((a) <= INT_MAX) && ((a) >= INT_MIN))
+ 
+-curl_proxytype proxyType2CUrlProxyType[] = {
++long proxyType2CUrlProxyType[] = {
+     CURLPROXY_HTTP,   CURLPROXY_SOCKS4,          CURLPROXY_SOCKS4A,
+     CURLPROXY_SOCKS5, CURLPROXY_SOCKS5_HOSTNAME, CURLPROXY_HTTPS,
+ };
+
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-09-19 12:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-11 17:13 [Buildroot] [PATCH v2 1/3] package/kodi: Fix build with curl 8.16.0 Bernd Kuhls
2025-09-11 17:13 ` [Buildroot] [PATCH 2/3] package/cmake: bump version to 4.0.4 Bernd Kuhls
2025-09-12 15:29   ` Peter Korsgaard
2025-09-12 18:45     ` Thomas Petazzoni via buildroot
2025-09-11 17:13 ` [Buildroot] [PATCH 3/3] package/libcurl: security bump version to 8.16.0 Bernd Kuhls
2025-09-12 15:31   ` Peter Korsgaard
2025-09-19 12:56   ` Thomas Perale via buildroot
2025-09-12 15:28 ` [Buildroot] [PATCH v2 1/3] package/kodi: Fix build with curl 8.16.0 Peter Korsgaard
2025-09-19 12:56 ` Thomas Perale via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.