summaryrefslogtreecommitdiff
path: root/debian/patches/fix-hppa.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fix-hppa.diff')
-rw-r--r--debian/patches/fix-hppa.diff26
1 files changed, 0 insertions, 26 deletions
diff --git a/debian/patches/fix-hppa.diff b/debian/patches/fix-hppa.diff
deleted file mode 100644
index 915efff4..00000000
--- a/debian/patches/fix-hppa.diff
+++ /dev/null
@@ -1,26 +0,0 @@
-From: John David Anglin <dave.anglin@bell.net>
-Subject: Fix build on hppa
-Bug-Debian: https://bugs.debian.org/971768
-Reviewed-by: Benjamin Barenblat <bbaren@debian.org>
-
---- a/absl/base/internal/direct_mmap.h
-+++ b/absl/base/internal/direct_mmap.h
-@@ -74,6 +74,7 @@
- inline void* DirectMmap(void* start, size_t length, int prot, int flags, int fd,
- off64_t offset) noexcept {
- #if defined(__i386__) || defined(__ARM_ARCH_3__) || defined(__ARM_EABI__) || \
-+ (defined(__hppa__) && !defined(__LP64__)) || \
- (defined(__mips__) && _MIPS_SIM == _MIPS_SIM_ABI32) || \
- (defined(__PPC__) && !defined(__PPC64__)) || \
- (defined(__riscv) && __riscv_xlen == 32) || \
---- a/absl/debugging/internal/examine_stack.cc
-+++ b/absl/debugging/internal/examine_stack.cc
-@@ -48,6 +48,8 @@
- return reinterpret_cast<void*>(context->uc_mcontext.pc);
- #elif defined(__arm__)
- return reinterpret_cast<void*>(context->uc_mcontext.arm_pc);
-+#elif defined(__hppa__)
-+ return reinterpret_cast<void*>(context->uc_mcontext.sc_iaoq[0]);
- #elif defined(__i386__)
- if (14 < ABSL_ARRAYSIZE(context->uc_mcontext.gregs))
- return reinterpret_cast<void*>(context->uc_mcontext.gregs[14]);