summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-07-07 01:25:07 +0100
committerSam James <sam@gentoo.org>2024-07-07 01:25:07 +0100
commita0dfb5fe757ed1482b59f14c1e5068f40b625972 (patch)
tree19008ca9c7612247ce1567a17d62c64d3a7bf102 /dev-cpp/abseil-cpp
parentapp-shells/bash: add 5.2_p26-r8 with non-preliminary XTWINOPS support (diff)
downloadgentoo-a0dfb5fe757ed1482b59f14c1e5068f40b625972.tar.gz
gentoo-a0dfb5fe757ed1482b59f14c1e5068f40b625972.tar.bz2
gentoo-a0dfb5fe757ed1482b59f14c1e5068f40b625972.zip
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>
Diffstat (limited to 'dev-cpp/abseil-cpp')
-rw-r--r--dev-cpp/abseil-cpp/abseil-cpp-20230125.3-r3.ebuild1
-rw-r--r--dev-cpp/abseil-cpp/abseil-cpp-20230802.0-r2.ebuild6
-rw-r--r--dev-cpp/abseil-cpp/abseil-cpp-20240116.2-r2.ebuild6
-rw-r--r--dev-cpp/abseil-cpp/files/abseil-cpp-random-tests.patch19
4 files changed, 30 insertions, 2 deletions
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20230125.3-r3.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20230125.3-r3.ebuild
index 46aea4f8cad5..c248fe6ae1a4 100644
--- a/dev-cpp/abseil-cpp/abseil-cpp-20230125.3-r3.ebuild
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20230125.3-r3.ebuild
@@ -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() {
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20230802.0-r2.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20230802.0-r2.ebuild
index 1281eefffab0..9a9c217bda00 100644
--- a/dev-cpp/abseil-cpp/abseil-cpp-20230802.0-r2.ebuild
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20230802.0-r2.ebuild
@@ -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
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20240116.2-r2.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20240116.2-r2.ebuild
index 1281eefffab0..9a9c217bda00 100644
--- a/dev-cpp/abseil-cpp/abseil-cpp-20240116.2-r2.ebuild
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20240116.2-r2.ebuild
@@ -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
diff --git a/dev-cpp/abseil-cpp/files/abseil-cpp-random-tests.patch b/dev-cpp/abseil-cpp/files/abseil-cpp-random-tests.patch
new file mode 100644
index 000000000000..769ac6a56e39
--- /dev/null
+++ b/dev-cpp/abseil-cpp/files/abseil-cpp-random-tests.patch
@@ -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