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

Closes: https://bugs.gentoo.org/948941
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-01-28 14:12:59 +01:00
parent e669e37ff9
commit adfffb4acd
3 changed files with 22 additions and 1 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -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)