summaryrefslogtreecommitdiff
path: root/abseil-cpp-20210324.2-sw.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-01-16 09:52:58 +0000
committerCoprDistGit <infra@openeuler.org>2025-01-16 09:52:58 +0000
commit77c9c0e875d847dce55a9e942fce92c77d94d243 (patch)
treef1c8a2de03b3b758e2636e0c2da8f6d9d3da826f /abseil-cpp-20210324.2-sw.patch
parentfd602fedf208baa24de08213f6108e16fcea8e3e (diff)
automatic import of Ros-jazzy-abseil-cppopeneuler24.03_LTS
Diffstat (limited to 'abseil-cpp-20210324.2-sw.patch')
-rw-r--r--abseil-cpp-20210324.2-sw.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abseil-cpp-20210324.2-sw.patch b/abseil-cpp-20210324.2-sw.patch
new file mode 100644
index 0000000..a58aefd
--- /dev/null
+++ b/abseil-cpp-20210324.2-sw.patch
@@ -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);