From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 48A551581D3 for ; Thu, 23 May 2024 18:01:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F1ABE29E2; Thu, 23 May 2024 18:01:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 250E6E29E2 for ; Thu, 23 May 2024 18:01:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5500833BDEF for ; Thu, 23 May 2024 18:01:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE46F1A2E for ; Thu, 23 May 2024 18:01:08 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1716486909.eef3a99ed8f0e12d70bb434ecb3715cd3c7c9ce2.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/files/, media-tv/kodi/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-tv/kodi/files/kodi-21-fix-gcc14.patch media-tv/kodi/kodi-21.0-r1.ebuild X-VCS-Directories: media-tv/kodi/ media-tv/kodi/files/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: eef3a99ed8f0e12d70bb434ecb3715cd3c7c9ce2 X-VCS-Branch: master Date: Thu, 23 May 2024 18:01:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3247b38b-a715-4a2e-ae11-5de21187b628 X-Archives-Hash: 4b073ca45e0f37ce7cb024f9cdd9a91f commit: eef3a99ed8f0e12d70bb434ecb3715cd3c7c9ce2 Author: Alfred Wingate protonmail com> AuthorDate: Thu May 23 09:56:51 2024 +0000 Commit: Matt Turner gentoo 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 protonmail.com> Signed-off-by: Matt Turner 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 +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 +--- 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 + #include + #include + #include + +From b6ddd8fb25ef20e8adb9a9f9b53bebf0cee3a970 Mon Sep 17 00:00:00 2001 +From: Rudi Heitbaum +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 +--- a/xbmc/utils/Geometry.h ++++ b/xbmc/utils/Geometry.h +@@ -177,7 +177,7 @@ template class CSizeGen + return {m_w, m_h}; + } + +- template explicit CSizeGen(const CSizeGen& rhs) ++ template explicit CSizeGen(const CSizeGen& rhs) + { + CheckSet(static_cast (rhs.m_w), static_cast (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="