summaryrefslogtreecommitdiff
path: root/waterfox/build-ppc64-s390x-curl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'waterfox/build-ppc64-s390x-curl.patch')
-rw-r--r--waterfox/build-ppc64-s390x-curl.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/waterfox/build-ppc64-s390x-curl.patch b/waterfox/build-ppc64-s390x-curl.patch
new file mode 100644
index 0000000..6c303f3
--- /dev/null
+++ b/waterfox/build-ppc64-s390x-curl.patch
@@ -0,0 +1,13 @@
+diff -up firefox-54.0/toolkit/crashreporter/google-breakpad/src/third_party/curl/curlbuild.h.ppc-curl firefox-54.0/toolkit/crashreporter/google-breakpad/src/third_party/curl/curlbuild.h
+--- firefox-54.0/toolkit/crashreporter/google-breakpad/src/third_party/curl/curlbuild.h.ppc-curl 2017-06-09 23:31:15.186207877 +0200
++++ firefox-54.0/toolkit/crashreporter/google-breakpad/src/third_party/curl/curlbuild.h 2017-06-10 00:21:26.731117206 +0200
+@@ -155,7 +155,8 @@
+
+ /* The size of `long', as computed by sizeof. */
+ #if defined(_M_X64) || (defined(__x86_64__) && !defined(__ILP32__)) || \
+- defined(__aarch64__) || (defined(__mips__) && _MIPS_SIM == _ABI64)
++ defined(__aarch64__) || (defined(__mips__) && _MIPS_SIM == _ABI64) || \
++ defined(__PPC64__) || defined(__pcc64le__) || defined(__S390X__) || defined(__s390x__)
+ #define CURL_SIZEOF_LONG 8
+ #else
+ #define CURL_SIZEOF_LONG 4
bgstack15