From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1719935-garchives=archives.gentoo.org@lists.gentoo.org>
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 finch.gentoo.org (Postfix) with ESMTPS id 150261582EF
	for <garchives@archives.gentoo.org>; Fri, 21 Feb 2025 13:02:59 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(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)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id F113D3430B5
	for <garchives@archives.gentoo.org>; Fri, 21 Feb 2025 13:02:58 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 20DE7110476;
	Fri, 21 Feb 2025 13:02:48 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 11D8C110474
	for <gentoo-commits@lists.gentoo.org>; Fri, 21 Feb 2025 13:02:48 +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 BB57B34309F
	for <gentoo-commits@lists.gentoo.org>; Fri, 21 Feb 2025 13:02:47 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D06DA2737
	for <gentoo-commits@lists.gentoo.org>; Fri, 21 Feb 2025 13:02:44 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1740142806.197b2ffa3f1e2b05d1e353c3b31c690f8a3876cf.sam@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-22-silence-libdvdread-git.patch media-tv/kodi/kodi-9999.ebuild
X-VCS-Directories: media-tv/kodi/files/ media-tv/kodi/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 197b2ffa3f1e2b05d1e353c3b31c690f8a3876cf
X-VCS-Branch: master
Date: Fri, 21 Feb 2025 13:02:44 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 13f79194-199d-49e3-9c9b-1913e688aa9b
X-Archives-Hash: 6f0e7f427c137f8a7a4513b0c98f7880

commit:     197b2ffa3f1e2b05d1e353c3b31c690f8a3876cf
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Fri Feb 21 06:23:09 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 21 13:00:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=197b2ffa

media-tv/kodi: update silence-libdvdread-git patch

Upstream commit: b7cbf93fb0eff07b6b968d0b5ca745871488ac64

Closes: https://bugs.gentoo.org/949828
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Thanks-To: Steffen Hau <steffen <AT> hauihau.de>
Closes: https://github.com/gentoo/gentoo/pull/40284
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/kodi-22-silence-libdvdread-git.patch     | 36 ++++++++++++++++++++++
 media-tv/kodi/kodi-9999.ebuild                     |  2 +-
 2 files changed, 37 insertions(+), 1 deletion(-)

diff --git a/media-tv/kodi/files/kodi-22-silence-libdvdread-git.patch b/media-tv/kodi/files/kodi-22-silence-libdvdread-git.patch
new file mode 100644
index 000000000000..91c1a5e9305e
--- /dev/null
+++ b/media-tv/kodi/files/kodi-22-silence-libdvdread-git.patch
@@ -0,0 +1,36 @@
+From a193fae2ace4aa9086f9b73fa7008a016c30061e Mon Sep 17 00:00:00 2001
+From: Alfred Wingate <parona@protonmail.com>
+Date: Wed, 21 Aug 2024 13:40:02 +0300
+Subject: [PATCH] Silence git "command not found"
+
+--- a/cmake/modules/FindLibDvdRead.cmake
++++ b/cmake/modules/FindLibDvdRead.cmake
+@@ -39,6 +39,9 @@ if(NOT TARGET LibDvdRead::LibDvdRead)
+ 
+   set(LIBDVDREAD_VERSION ${${MODULE}_VER})
+ 
++  set(patches "${CORE_SOURCE_DIR}/tools/depends/target/${${CMAKE_FIND_PACKAGE_NAME}_MODULE_LC}/silence-git.patch")
++  generate_patchcommand("${patches}")
++
+   set(HOST_ARCH ${ARCH})
+   if(CORE_SYSTEM_NAME STREQUAL android)
+     if(ARCH STREQUAL arm)
+--- /dev/null
++++ b/tools/depends/target/libdvdread/silence-git.patch
+@@ -0,0 +1,13 @@
++diff --git a/Makefile.am b/Makefile.am
++index f2849b8..7cee887 100644
++--- a/Makefile.am
+++++ b/Makefile.am
++@@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -Im4
++ 
++ AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src/dvdread $(CSS_CFLAGS)
++ 
++-dist_doc_DATA = AUTHORS ChangeLog COPYING NEWS README.md TODO
+++dist_doc_DATA = AUTHORS COPYING NEWS README.md TODO
++ 
++ MAINTAINERCLEANFILES = ChangeLog
++ 
+-- 
+2.46.0
+

diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild
index c17aca09fd3c..50bc0ab27be4 100644
--- a/media-tv/kodi/kodi-9999.ebuild
+++ b/media-tv/kodi/kodi-9999.ebuild
@@ -271,7 +271,7 @@ BDEPEND="
 
 PATCHES=(
 	"${FILESDIR}"/kodi-21-optional-ffmpeg-libx11.patch
-	"${FILESDIR}"/kodi-21.1-silence-libdvdread-git.patch
+	"${FILESDIR}"/kodi-22-silence-libdvdread-git.patch
 )
 
 # bug #544020