summaryrefslogtreecommitdiff
path: root/build-ppc64-s390x-curl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'build-ppc64-s390x-curl.patch')
-rw-r--r--build-ppc64-s390x-curl.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/build-ppc64-s390x-curl.patch b/build-ppc64-s390x-curl.patch
new file mode 100644
index 0000000..c9a39e2
--- /dev/null
+++ b/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__)
+ #define CURL_SIZEOF_LONG 8
+ #else
+ #define CURL_SIZEOF_LONG 4
bgstack15