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 8BFAB158010 for ; Mon, 30 Jan 2023 03:28:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6EE30E0826; Mon, 30 Jan 2023 03:28:01 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 44D9FE0826 for ; Mon, 30 Jan 2023 03:28:01 +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 1B8B7340DFB for ; Mon, 30 Jan 2023 03:28:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E79E585B for ; Mon, 30 Jan 2023 03:27:57 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1675049085.b1abe11db602377ba9c72c9944feefba52160b17.sam@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-19.5-gcc-13.patch media-tv/kodi/kodi-19.5.ebuild X-VCS-Directories: media-tv/kodi/ media-tv/kodi/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b1abe11db602377ba9c72c9944feefba52160b17 X-VCS-Branch: master Date: Mon, 30 Jan 2023 03:27:57 +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: 88ad9b2e-d72f-44ca-974b-e4d2df1059e5 X-Archives-Hash: ea65bfdffb07f93f8ec1207171fd39cf commit: b1abe11db602377ba9c72c9944feefba52160b17 Author: Sam James gentoo org> AuthorDate: Mon Jan 30 03:10:44 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jan 30 03:24:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1abe11d media-tv/kodi: fix build w/ gcc 13 Closes: https://bugs.gentoo.org/892503 Signed-off-by: Sam James gentoo.org> media-tv/kodi/files/kodi-19.5-gcc-13.patch | 58 ++++++++++++++++++++++++++++++ media-tv/kodi/kodi-19.5.ebuild | 1 + 2 files changed, 59 insertions(+) diff --git a/media-tv/kodi/files/kodi-19.5-gcc-13.patch b/media-tv/kodi/files/kodi-19.5-gcc-13.patch new file mode 100644 index 000000000000..130c3c225486 --- /dev/null +++ b/media-tv/kodi/files/kodi-19.5-gcc-13.patch @@ -0,0 +1,58 @@ +https://bugs.gentoo.org/892503 +https://github.com/xbmc/xbmc/pull/22627 +https://github.com/xbmc/xbmc/pull/22631 + +From 6730f62c5d709f8789e11d3f979c597fe702daa3 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sun, 29 Jan 2023 22:14:16 +0000 +Subject: [PATCH] windowing: X11: Add missing include (fix build with + GCC 13) + +GCC 13 (as usual for new compiler releases) shuffles around some +internal includes and so etc is no longer transitively included. + +See https://www.gnu.org/software/gcc/gcc-13/porting_to.html. + +Bug: https://bugs.gentoo.org/892503 +--- a/xbmc/windowing/X11/GLContext.h ++++ b/xbmc/windowing/X11/GLContext.h +@@ -8,6 +8,7 @@ + + #pragma once + ++#include + #include + + #include + +--- a/xbmc/cores/VideoPlayer/VideoRenderers/ColorManager.h ++++ b/xbmc/cores/VideoPlayer/VideoRenderers/ColorManager.h +@@ -12,6 +12,7 @@ + #include + #endif + ++#include + #include + + extern "C" +--- a/xbmc/pictures/Picture.h ++++ b/xbmc/pictures/Picture.h +@@ -11,6 +11,8 @@ + #include "pictures/PictureScalingAlgorithm.h" + #include "utils/Job.h" + ++#include ++#include + #include + #include + +--- a/xbmc/platform/Filesystem.h ++++ b/xbmc/platform/Filesystem.h +@@ -8,6 +8,7 @@ + + #pragma once + ++#include + #include + #include + namespace KODI diff --git a/media-tv/kodi/kodi-19.5.ebuild b/media-tv/kodi/kodi-19.5.ebuild index bda9d573b7d2..68653e38cf72 100644 --- a/media-tv/kodi/kodi-19.5.ebuild +++ b/media-tv/kodi/kodi-19.5.ebuild @@ -36,6 +36,7 @@ inherit autotools cmake desktop libtool linux-info pax-utils python-single-r1 xd PATCHES=( "${FILESDIR}/${PN}-19.4-atomic.patch" "${FILESDIR}/${PN}-19.4-dav1d-1.0.0.patch" + "${FILESDIR}/${PN}-19.5-gcc-13.patch" ) DESCRIPTION="A free and open source media-player and entertainment hub"