summaryrefslogtreecommitdiff
path: root/build-ppc64-s390x-curl.patch
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2017-06-12 14:57:56 +0200
committerJan Horak <jhorak@redhat.com>2017-06-12 14:57:56 +0200
commit422c357017ae1c10dd9e7e0eb36d02c68c859d5a (patch)
tree821d3d49b94c26ffe87b192b5318ec954bec8c3a /build-ppc64-s390x-curl.patch
parentbuild fix - packaged missing files (diff)
downloadlibrewolf-fedora-ff-422c357017ae1c10dd9e7e0eb36d02c68c859d5a.tar.gz
librewolf-fedora-ff-422c357017ae1c10dd9e7e0eb36d02c68c859d5a.tar.bz2
librewolf-fedora-ff-422c357017ae1c10dd9e7e0eb36d02c68c859d5a.zip
Added fixes for ppc64le, ppc64 and s390x
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