Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5dc15e5f19 | ||
|
|
893317922c | ||
|
|
07413ab010 |
2 changed files with 44 additions and 0 deletions
|
|
@ -0,0 +1,38 @@
|
||||||
|
From 8e8c72e1cb92d63aa2aaa7f9d8ccb059250928d1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||||
|
Date: Fri, 9 Jan 2026 07:37:42 +0000
|
||||||
|
Subject: [PATCH] =?UTF-8?q?Omit=20the=20=E2=80=9Cbind=E2=80=9D=20block=20i?=
|
||||||
|
=?UTF-8?q?n=20test=20Test=20Mutex::FunctorCondition?=
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Work around failure to compile with GCC 16,
|
||||||
|
https://github.com/abseil/abseil-cpp/issues/1992.
|
||||||
|
---
|
||||||
|
absl/synchronization/mutex_test.cc | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/absl/synchronization/mutex_test.cc b/absl/synchronization/mutex_test.cc
|
||||||
|
index 793acf8c..7acd2e56 100644
|
||||||
|
--- a/absl/synchronization/mutex_test.cc
|
||||||
|
+++ b/absl/synchronization/mutex_test.cc
|
||||||
|
@@ -1022,6 +1022,7 @@ TEST(Mutex, FunctorCondition) {
|
||||||
|
EXPECT_TRUE(c.Eval());
|
||||||
|
}
|
||||||
|
|
||||||
|
+#if 0
|
||||||
|
{ // bind
|
||||||
|
int value = 0;
|
||||||
|
auto is_positive = std::bind(std::less<int>(), 0, std::cref(value));
|
||||||
|
@@ -1030,6 +1031,7 @@ TEST(Mutex, FunctorCondition) {
|
||||||
|
value = 1;
|
||||||
|
EXPECT_TRUE(c.Eval());
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
{ // std::function
|
||||||
|
int value = 3;
|
||||||
|
--
|
||||||
|
2.52.0
|
||||||
|
|
||||||
|
|
@ -24,6 +24,12 @@ License: Apache-2.0 AND LicenseRef-Fedora-Public-Domain
|
||||||
URL: https://abseil.io
|
URL: https://abseil.io
|
||||||
Source: https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
# Omit the “bind” block in test Test Mutex::FunctorCondition
|
||||||
|
#
|
||||||
|
# Work around failure to compile with GCC 16,
|
||||||
|
# https://github.com/abseil/abseil-cpp/issues/1992.
|
||||||
|
Patch: 0001-Omit-the-bind-block-in-test-Test-Mutex-FunctorCondit.patch
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
# The default make backend would work just as well; ninja is observably faster
|
# The default make backend would work just as well; ninja is observably faster
|
||||||
BuildRequires: ninja-build
|
BuildRequires: ninja-build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue