From 7a7aa7092d95b28406eaa6bccfbbc50f4b0e6a19 Mon Sep 17 00:00:00 2001 From: xinghe Date: Tue, 16 Apr 2024 08:35:41 +0000 Subject: [PATCH] Add missing include for std::unique_ptr (cherry picked from commit 7bcdc2e24b50b75d649c12e28c4c5c9870d12a28) --- abseil-cpp.spec | 10 ++++++- ...d-missing-include-for-std-unique_ptr.patch | 26 +++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 backport-Add-missing-include-for-std-unique_ptr.patch diff --git a/abseil-cpp.spec b/abseil-cpp.spec index c9eebf0..6949aac 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -6,7 +6,7 @@ Name: abseil-cpp Version: 20220623.1 -Release: 3 +Release: 5 Summary: C++ Common Libraries License: ASL 2.0 @@ -15,6 +15,8 @@ Source0: https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}- Patch0: backport-Do-not-leak-maes-msse4.1-into-pkgconfig.patch Patch1: abseil-cpp-20210324.2-sw.patch +Patch2: backport-Add-missing-include-for-std-unique_ptr.patch + %ifarch loongarch64 Patch100: 0001-add-loongarch-suopport-for-abseil-cpp.patch %endif @@ -67,6 +69,12 @@ Development headers for %{name} %{_libdir}/pkgconfig/*.pc %changelog +* Tue Apr 16 2024 xinghe - 20220623.1-5 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:Add missing include for std::unique_ptr + * Mon Nov 14 2022 Wenlong Zhang - 20220623.1-3 - add loongarch support for abseil-cpp diff --git a/backport-Add-missing-include-for-std-unique_ptr.patch b/backport-Add-missing-include-for-std-unique_ptr.patch new file mode 100644 index 0000000..09a64bb --- /dev/null +++ b/backport-Add-missing-include-for-std-unique_ptr.patch @@ -0,0 +1,26 @@ +From 701185dbce17a2f49334027ca3cb5788a5d06c6d Mon Sep 17 00:00:00 2001 +From: Abseil Team +Date: Fri, 22 Jul 2022 12:41:32 -0700 +Subject: [PATCH] Add missing include for std::unique_ptr + +PiperOrigin-RevId: 462681925 +Change-Id: Ic5610cb4124b7f60a00817ca2f1d52674b27c168 + +Conflict: NA +Reference: https://github.com/abseil/abseil-cpp/commit/701185dbce17a2f49334027ca3cb5788a5d06c6d +--- + absl/status/internal/status_internal.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/absl/status/internal/status_internal.h b/absl/status/internal/status_internal.h +index 19a4a7aaa09..873eb5c245d 100644 +--- a/absl/status/internal/status_internal.h ++++ b/absl/status/internal/status_internal.h +@@ -14,6 +14,7 @@ + #ifndef ABSL_STATUS_INTERNAL_STATUS_INTERNAL_H_ + #define ABSL_STATUS_INTERNAL_STATUS_INTERNAL_H_ + ++#include + #include + #include + -- Gitee