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 E1895158083 for ; Sat, 14 Sep 2024 19:56:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35328E29BD; Sat, 14 Sep 2024 19:56:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13B06E29BD for ; Sat, 14 Sep 2024 19:56:09 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27D9A34072E for ; Sat, 14 Sep 2024 19:56:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 22F3A27E9 for ; Sat, 14 Sep 2024 19:56:05 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1726343753.773ffba7ffaf7b9e33e3ac92a6871cfb39916383.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/kodi/, media-tv/kodi/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-tv/kodi/files/kodi-21.1-fix-gcc15.patch media-tv/kodi/kodi-21.1.ebuild X-VCS-Directories: media-tv/kodi/files/ media-tv/kodi/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 773ffba7ffaf7b9e33e3ac92a6871cfb39916383 X-VCS-Branch: master Date: Sat, 14 Sep 2024 19:56:05 +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: d1faa2a6-0068-478a-b90b-007168892396 X-Archives-Hash: 73f1b8371658806fffc4e2b767bb6492 commit: 773ffba7ffaf7b9e33e3ac92a6871cfb39916383 Author: Alfred Wingate protonmail com> AuthorDate: Sat Sep 14 14:33:51 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Sep 14 19:55:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=773ffba7 media-tv/kodi: fix gcc-15 Closes: https://bugs.gentoo.org/938531 Signed-off-by: Alfred Wingate protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/38606 Signed-off-by: Andreas Sturmlechner gentoo.org> media-tv/kodi/files/kodi-21.1-fix-gcc15.patch | 116 ++++++++++++++++++++++++++ media-tv/kodi/kodi-21.1.ebuild | 1 + 2 files changed, 117 insertions(+) diff --git a/media-tv/kodi/files/kodi-21.1-fix-gcc15.patch b/media-tv/kodi/files/kodi-21.1-fix-gcc15.patch new file mode 100644 index 000000000000..5ab776e70f50 --- /dev/null +++ b/media-tv/kodi/files/kodi-21.1-fix-gcc15.patch @@ -0,0 +1,116 @@ +https://bugs.gentoo.org/938531 +https://github.com/xbmc/xbmc/pull/25735 + +From 75e7b25883af5d2c8c89dbe6d830a5c17e9452f2 Mon Sep 17 00:00:00 2001 +From: Alfred Wingate +Date: Sat, 14 Sep 2024 13:46:25 +0300 +Subject: [PATCH] Include missing includes + +* GCC-15 stopped implicitly including it. + +Signed-off-by: Alfred Wingate +--- a/xbmc/ContextMenuItem.h ++++ b/xbmc/ContextMenuItem.h +@@ -8,6 +8,7 @@ + + #pragma once + ++#include + #include + #include + #include +--- a/xbmc/addons/AddonManager.h ++++ b/xbmc/addons/AddonManager.h +@@ -11,6 +11,7 @@ + #include "threads/CriticalSection.h" + #include "utils/EventStream.h" + ++#include + #include + #include + #include +--- a/xbmc/addons/IAddon.h ++++ b/xbmc/addons/IAddon.h +@@ -8,6 +8,7 @@ + + #pragma once + ++#include + #include + #include + #include +--- 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 ++ + extern "C" + { + #include +--- a/xbmc/cores/VideoPlayer/VideoRenderers/VideoShaders/ConversionMatrix.h ++++ b/xbmc/cores/VideoPlayer/VideoRenderers/VideoShaders/ConversionMatrix.h +@@ -10,6 +10,7 @@ + + #include + #include ++#include + #include + + extern "C" { +--- a/xbmc/guilib/FFmpegImage.h ++++ b/xbmc/guilib/FFmpegImage.h +@@ -9,6 +9,8 @@ + #pragma once + + #include "iimage.h" ++ ++#include + #include + + extern "C" +--- a/xbmc/input/keymaps/remote/IRTranslator.h ++++ b/xbmc/input/keymaps/remote/IRTranslator.h +@@ -8,6 +8,7 @@ + + #pragma once + ++#include + #include + #include + #include +--- a/xbmc/messaging/ThreadMessage.h ++++ b/xbmc/messaging/ThreadMessage.h +@@ -8,6 +8,7 @@ + + #pragma once + ++#include + #include + #include + #include +--- a/xbmc/settings/AdvancedSettings.h ++++ b/xbmc/settings/AdvancedSettings.h +@@ -13,6 +13,7 @@ + #include "settings/lib/ISettingsHandler.h" + #include "utils/SortUtils.h" + ++#include + #include + #include + #include +--- a/xbmc/utils/Archive.h ++++ b/xbmc/utils/Archive.h +@@ -8,6 +8,7 @@ + + #pragma once + ++#include + #include + #include + #include +-- +2.46.0 + diff --git a/media-tv/kodi/kodi-21.1.ebuild b/media-tv/kodi/kodi-21.1.ebuild index 09ed7be38e5e..7fb0e97e5bdf 100644 --- a/media-tv/kodi/kodi-21.1.ebuild +++ b/media-tv/kodi/kodi-21.1.ebuild @@ -278,6 +278,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/kodi-21-optional-ffmpeg-libx11.patch "${FILESDIR}"/kodi-21.1-silence-libdvdread-git.patch + "${FILESDIR}"/kodi-21.1-fix-gcc15.patch ) # bug #544020