From f9b11406a7e757902eed2af4901bd72b98fd8410 Mon Sep 17 00:00:00 2001 From: jbeich Date: Mon, 25 Sep 2017 17:25:30 +0000 Subject: 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 --- www/firefox/files/patch-bug1388744 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 www/firefox/files/patch-bug1388744 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 -- cgit v1.1