From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/, media-tv/kodi/
Date: Thu, 23 May 2024 18:01:08 +0000 (UTC) [thread overview]
Message-ID: <1716486909.eef3a99ed8f0e12d70bb434ecb3715cd3c7c9ce2.mattst88@gentoo> (raw)
commit: eef3a99ed8f0e12d70bb434ecb3715cd3c7c9ce2
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Thu May 23 09:56:51 2024 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu May 23 17:55:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eef3a99e
media-tv/kodi: fix gcc-14
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
media-tv/kodi/files/kodi-21-fix-gcc14.patch | 42 +++++++++++++++++++++++++++++
media-tv/kodi/kodi-21.0-r1.ebuild | 4 +++
2 files changed, 46 insertions(+)
diff --git a/media-tv/kodi/files/kodi-21-fix-gcc14.patch b/media-tv/kodi/files/kodi-21-fix-gcc14.patch
new file mode 100644
index 000000000000..fdfa36723f1f
--- /dev/null
+++ b/media-tv/kodi/files/kodi-21-fix-gcc14.patch
@@ -0,0 +1,42 @@
+https://github.com/xbmc/xbmc/pull/25106
+
+From 2bf5ab07731b3d4160196e6b8d9ab9e25bea2ef9 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum <rudi@heitbaum.com>
+Date: Thu, 2 May 2024 08:02:42 +0000
+Subject: [PATCH 1/2] add missing c++ headers
+
+Add missing headers which are no longer indirectly included by
+other headers, fixes build with gcc-14
+
+Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
+--- a/xbmc/platform/posix/filesystem/SMBWSDiscoveryListener.cpp
++++ b/xbmc/platform/posix/filesystem/SMBWSDiscoveryListener.cpp
+@@ -17,6 +17,7 @@
+
+ #include "platform/posix/filesystem/SMBWSDiscovery.h"
+
++#include <algorithm>
+ #include <array>
+ #include <chrono>
+ #include <mutex>
+
+From b6ddd8fb25ef20e8adb9a9f9b53bebf0cee3a970 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum <rudi@heitbaum.com>
+Date: Thu, 2 May 2024 08:05:00 +0000
+Subject: [PATCH 2/2] Geometry: fix template-id not allowed for constructor
+
+fixes gcc-14 error:
+- warning: template-id not allowed for constructor in C++20
+
+Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
+--- a/xbmc/utils/Geometry.h
++++ b/xbmc/utils/Geometry.h
+@@ -177,7 +177,7 @@ template <typename T> class CSizeGen
+ return {m_w, m_h};
+ }
+
+- template<class U> explicit CSizeGen<T>(const CSizeGen<U>& rhs)
++ template<class U> explicit CSizeGen(const CSizeGen<U>& rhs)
+ {
+ CheckSet(static_cast<T> (rhs.m_w), static_cast<T> (rhs.m_h));
+ }
diff --git a/media-tv/kodi/kodi-21.0-r1.ebuild b/media-tv/kodi/kodi-21.0-r1.ebuild
index bdc7176cb631..18b27c8c116d 100644
--- a/media-tv/kodi/kodi-21.0-r1.ebuild
+++ b/media-tv/kodi/kodi-21.0-r1.ebuild
@@ -259,6 +259,10 @@ BDEPEND="
)
"
+PATHCES=(
+ "${FILESDIR}"/kodi-21-fix-gcc14.ebuild
+)
+
# bug #544020
CONFIG_CHECK="~IP_MULTICAST"
ERROR_IP_MULTICAST="
next reply other threads:[~2024-05-23 18:01 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-23 18:01 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-14 20:12 [gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/, media-tv/kodi/ Andreas Sturmlechner
2024-08-25 16:10 Sam James
2024-06-02 7:10 Sam James
2024-01-21 4:41 Sam James
2023-05-31 3:07 Sam James
2023-01-30 3:27 Sam James
2022-12-17 19:38 Craig Andrews
2022-08-26 14:38 Jakov Smolić
2020-08-04 20:43 Craig Andrews
2020-06-23 18:44 Craig Andrews
2019-12-06 17:07 Craig Andrews
2019-09-05 17:30 Craig Andrews
2019-09-02 20:42 Craig Andrews
2019-02-18 3:01 Craig Andrews
2018-11-28 16:33 Craig Andrews
2018-06-25 17:37 Craig Andrews
2017-10-23 13:36 Craig Andrews
2017-01-20 16:52 Jory Pratt
2017-01-17 19:38 David Seifert
2017-01-17 18:57 David Seifert
2016-02-24 10:00 Alexis Ballier
2015-08-26 5:27 Mike Frysinger
2015-08-26 5:23 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1716486909.eef3a99ed8f0e12d70bb434ecb3715cd3c7c9ce2.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox