mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
dev-cpp/abseil-cpp: fix build without tests
Closes: https://bugs.gentoo.org/935417 Thanks-to: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
b40811ec31
commit
a0dfb5fe75
@ -29,6 +29,7 @@ RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-20230125.2-musl-1.2.4.patch #906218
|
||||
"${FILESDIR}"/${PN}-random-tests.patch #935417
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
@ -26,7 +26,11 @@ BDEPEND="
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
PATCHES=( "${FILESDIR}/${PN}-20230802.0-sdata-tests.patch" )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-20230802.0-sdata-tests.patch"
|
||||
"${FILESDIR}/${PN}-random-tests.patch" #935417
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
@ -26,7 +26,11 @@ BDEPEND="
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
PATCHES=( "${FILESDIR}/${PN}-20230802.0-sdata-tests.patch" )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-20230802.0-sdata-tests.patch"
|
||||
"${FILESDIR}/${PN}-random-tests.patch" #935417
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
19
dev-cpp/abseil-cpp/files/abseil-cpp-random-tests.patch
Normal file
19
dev-cpp/abseil-cpp/files/abseil-cpp-random-tests.patch
Normal file
@ -0,0 +1,19 @@
|
||||
https://github.com/abseil/abseil-cpp/issues/1528
|
||||
|
||||
From: Paul Zander <negril.nx+gentoo@gmail.com>
|
||||
Date: Sat, 7 Jul 2024 01:53:19 +0200
|
||||
Subject: [PATCH] remove abseil::random_internal_mock_overload_set
|
||||
See-Also: https://bugs.gentoo.org/935417
|
||||
|
||||
diff --git a/absl/random/CMakeLists.txt b/absl/random/CMakeLists.txt
|
||||
index bd363d8..7692a35 100644
|
||||
--- a/absl/random/CMakeLists.txt
|
||||
+++ b/absl/random/CMakeLists.txt
|
||||
@@ -112,7 +112,6 @@ absl_cc_library(
|
||||
absl::raw_logging_internal
|
||||
absl::random_distributions
|
||||
absl::random_internal_distribution_caller
|
||||
- absl::random_internal_mock_overload_set
|
||||
absl::random_random
|
||||
absl::strings
|
||||
absl::span
|
||||
Loading…
x
Reference in New Issue
Block a user