From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1713310-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 A89B81580E0
	for <garchives@archives.gentoo.org>; Tue, 28 Jan 2025 13:24:26 +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) server-digest SHA256)
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 64DC034302E
	for <garchives@archives.gentoo.org>; Tue, 28 Jan 2025 13:24:26 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 5AD8A110296;
	Tue, 28 Jan 2025 13:24:25 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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 bobolink.gentoo.org (Postfix) with ESMTPS id 4C53E110296
	for <gentoo-commits@lists.gentoo.org>; Tue, 28 Jan 2025 13:24:25 +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 EEAD3341540
	for <gentoo-commits@lists.gentoo.org>; Tue, 28 Jan 2025 13:24:24 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1573E190B
	for <gentoo-commits@lists.gentoo.org>; Tue, 28 Jan 2025 13:24:23 +0000 (UTC)
From: "Michał Górny" <mgorny@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, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1738070627.adfffb4acd63db13d837ad016bd401e773255b03.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgit2/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-libs/libgit2/libgit2-1.7.2.ebuild dev-libs/libgit2/libgit2-1.8.4.ebuild dev-libs/libgit2/libgit2-1.9.0.ebuild
X-VCS-Directories: dev-libs/libgit2/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: adfffb4acd63db13d837ad016bd401e773255b03
X-VCS-Branch: master
Date: Tue, 28 Jan 2025 13:24:23 +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: fc2acb7c-1a36-4d6e-9322-0eb4c85d3b4e
X-Archives-Hash: b8bde5eb8d87d8dbbc633bd13dcc6b2d

commit:     adfffb4acd63db13d837ad016bd401e773255b03
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 28 13:12:59 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 28 13:23:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adfffb4a

dev-libs/libgit2: Remove -Werror from a test

Closes: https://bugs.gentoo.org/948941
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-libs/libgit2/libgit2-1.7.2.ebuild | 9 ++++++++-
 dev-libs/libgit2/libgit2-1.8.4.ebuild | 7 +++++++
 dev-libs/libgit2/libgit2-1.9.0.ebuild | 7 +++++++
 3 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libgit2/libgit2-1.7.2.ebuild b/dev-libs/libgit2/libgit2-1.7.2.ebuild
index e6996dbfbafa..ae566db5ba70 100644
--- a/dev-libs/libgit2/libgit2-1.7.2.ebuild
+++ b/dev-libs/libgit2/libgit2-1.7.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -36,6 +36,13 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+src_prepare() {
+	cmake_src_prepare
+
+	# https://bugs.gentoo.org/948941
+	sed -i -e 's:-Werror::' tests/headertest/CMakeLists.txt || die
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DBUILD_TESTS=$(usex test)

diff --git a/dev-libs/libgit2/libgit2-1.8.4.ebuild b/dev-libs/libgit2/libgit2-1.8.4.ebuild
index 3a6f70228408..12157518741c 100644
--- a/dev-libs/libgit2/libgit2-1.8.4.ebuild
+++ b/dev-libs/libgit2/libgit2-1.8.4.ebuild
@@ -36,6 +36,13 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+src_prepare() {
+	cmake_src_prepare
+
+	# https://bugs.gentoo.org/948941
+	sed -i -e 's:-Werror::' tests/headertest/CMakeLists.txt || die
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DBUILD_TESTS=$(usex test)

diff --git a/dev-libs/libgit2/libgit2-1.9.0.ebuild b/dev-libs/libgit2/libgit2-1.9.0.ebuild
index 1f458761528f..f28cf27e10de 100644
--- a/dev-libs/libgit2/libgit2-1.9.0.ebuild
+++ b/dev-libs/libgit2/libgit2-1.9.0.ebuild
@@ -36,6 +36,13 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+src_prepare() {
+	cmake_src_prepare
+
+	# https://bugs.gentoo.org/948941
+	sed -i -e 's:-Werror::' tests/headertest/CMakeLists.txt || die
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DBUILD_TESTS=$(usex test)