!9 添加sw架构
From: @wuzx065891 Reviewed-by: @yanan-rock Signed-off-by: @yanan-rock
This commit is contained in:
commit
7756939526
12
abseil-cpp-20210324.2-sw.patch
Executable file
12
abseil-cpp-20210324.2-sw.patch
Executable file
@ -0,0 +1,12 @@
|
||||
diff -Naur abseil-cpp-20210324.2.org/absl/debugging/internal/examine_stack.cc abseil-cpp-20210324.2.sw/absl/debugging/internal/examine_stack.cc
|
||||
--- abseil-cpp-20210324.2.org/absl/debugging/internal/examine_stack.cc 2022-03-10 01:13:54.492357080 +0000
|
||||
+++ abseil-cpp-20210324.2.sw/absl/debugging/internal/examine_stack.cc 2022-03-10 01:15:26.202357080 +0000
|
||||
@@ -46,7 +46,7 @@
|
||||
ucontext_t* context = reinterpret_cast<ucontext_t*>(vuc);
|
||||
#if defined(__aarch64__)
|
||||
return reinterpret_cast<void*>(context->uc_mcontext.pc);
|
||||
-#elif defined(__alpha__)
|
||||
+#elif defined(__alpha__) || defined(__sw_64__)
|
||||
return reinterpret_cast<void*>(context->uc_mcontext.sc_pc);
|
||||
#elif defined(__arm__)
|
||||
return reinterpret_cast<void*>(context->uc_mcontext.arm_pc);
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
Name: abseil-cpp
|
||||
Version: 20220623.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: C++ Common Libraries
|
||||
|
||||
License: ASL 2.0
|
||||
@ -14,6 +14,7 @@ URL: https://abseil.io
|
||||
Source0: https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch0: backport-Do-not-leak-maes-msse4.1-into-pkgconfig.patch
|
||||
Patch1: abseil-cpp-20210324.2-sw.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
@ -63,6 +64,12 @@ Development headers for %{name}
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog
|
||||
* Fri Nov 11 2022 wuzx<wuzx1226@qq.com> - 20220623.1-2
|
||||
- Type:feature
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:Add sw64 architecture
|
||||
|
||||
* Wed Nov 02 2022 xinghe <xinghe2@h-partners.com> - 20220623.1-1
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user