aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-09-26 01:19:37 +0800
committerjbeich <jbeich@FreeBSD.org>2017-09-26 01:19:37 +0800
commit48a2fcf8dbf198825b2be03f2e9645408163c56f (patch)
treeef8331269d94b9fd0fb421114a15b0a4576758a6 /www/firefox
parentf05d354d3503184eeaf3c224e202200a0a7065b6 (diff)
downloadfreebsd-ports-gnome-48a2fcf8dbf198825b2be03f2e9645408163c56f.tar.gz
freebsd-ports-gnome-48a2fcf8dbf198825b2be03f2e9645408163c56f.tar.zst
freebsd-ports-gnome-48a2fcf8dbf198825b2be03f2e9645408163c56f.zip
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
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/files/patch-bug138874414
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 000000000000..89c6a52fab03
--- /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__) && !defined(__ILP32__))
+ #define CURL_SIZEOF_LONG 8
+ #else
+ #define CURL_SIZEOF_LONG 4