diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-09-25 17:25:30 +0000 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-09-25 17:25:30 +0000 |
commit | f9b11406a7e757902eed2af4901bd72b98fd8410 (patch) | |
tree | fcd8e68a33b06092d8785ba08c8822b53d78fc5d | |
parent | 3df9a706247af030d04bf41b15d821978206a5b1 (diff) | |
download | FreeBSD-ports-f9b11406a7e757902eed2af4901bd72b98fd8410.zip FreeBSD-ports-f9b11406a7e757902eed2af4901bd72b98fd8410.tar.gz |
MFH: r450623 r450624
www/firefox: unbreak on powerpc64, sparc64
In file included from toolkit/crashreporter/google-breakpad/src/third_party/curl/curl.h:44:0,
from toolkit/components/telemetry/pingsender/pingsender_unix_common.cpp:13,
from objdir/toolkit/components/telemetry/pingsender/Unified_cpp_pingsender0.cpp:11:
toolkit/crashreporter/google-breakpad/src/third_party/curl/curlrules.h:144:41: error: size of array '__curl_rule_01__' is negative
[CurlchkszEQ(long, CURL_SIZEOF_LONG)];
^
Reported by: jhibbits
Approved by: ports-secteam blanket
-rw-r--r-- | www/firefox/files/patch-bug1388744 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/firefox/files/patch-bug1388744 b/www/firefox/files/patch-bug1388744 new file mode 100644 index 0000000..abee540 --- /dev/null +++ b/www/firefox/files/patch-bug1388744 @@ -0,0 +1,14 @@ +Unbreak pingsender build on Tier3 archs + +--- toolkit/crashreporter/google-breakpad/src/third_party/curl/curlbuild.h ++++ toolkit/crashreporter/google-breakpad/src/third_party/curl/curlbuild.h +@@ -154,8 +154,7 @@ + #endif + + /* The size of `long', as computed by sizeof. */ +-#if defined(_M_X64) || (defined(__x86_64__) && !defined(__ILP32__)) || \ +- defined(__aarch64__) || (defined(__mips__) && _MIPS_SIM == _ABI64) ++#if defined(_M_X64) || defined(__LP64__) + #define CURL_SIZEOF_LONG 8 + #else + #define CURL_SIZEOF_LONG 4 |