diff -r 000000000000 -r 6474c204b198 toolkit/crashreporter/breakpad-patches/16-sht-arm-exidx-define.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolkit/crashreporter/breakpad-patches/16-sht-arm-exidx-define.patch Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,21 @@ +# HG changeset patch +# User Justin Wood +# Date 1372046309 14400 +# Node ID d6fc88d46b67cd522998ab6a9320b00b6091d5ce +# Parent aef71cf41cecf4c3d7bef313bff502c98d5883ce +Bug 886209 - SHT_ARM_EXIDX not defined on older glibc versions. r=glandium +(fixes SeaMonkey building on CentOS5.x) + +diff --git src/common/linux/dump_symbols.cc +--- a/src/common/linux/dump_symbols.cc ++++ b/src/common/linux/dump_symbols.cc +@@ -71,7 +71,8 @@ + #include "common/using_std_string.h" + #include "common/logging.h" + +-#if defined(__ANDROID__) && !defined(SHT_ARM_EXIDX) ++#ifndef SHT_ARM_EXIDX ++// bionic and older glibc don't define it + # define SHT_ARM_EXIDX (SHT_LOPROC + 1) + #endif +