diff options
author | Martin Stransky <stransky@redhat.com> | 2015-03-06 16:38:42 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2015-03-06 16:38:42 +0100 |
commit | 5d942197d4886c7f08fdbe3bf9bb1f4574909615 (patch) | |
tree | 99147faceb589e090ac956f720dc237dd7efb988 /firefox-ppc64le.patch | |
parent | Added back the removed -remote option, Fixed rhbz#1198965 - mozilla-xremote-c... (diff) | |
download | librewolf-fedora-ff-5d942197d4886c7f08fdbe3bf9bb1f4574909615.tar.gz librewolf-fedora-ff-5d942197d4886c7f08fdbe3bf9bb1f4574909615.tar.bz2 librewolf-fedora-ff-5d942197d4886c7f08fdbe3bf9bb1f4574909615.zip |
ppc64le build fixes
Diffstat (limited to 'firefox-ppc64le.patch')
-rw-r--r-- | firefox-ppc64le.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/firefox-ppc64le.patch b/firefox-ppc64le.patch new file mode 100644 index 0000000..6465eec --- /dev/null +++ b/firefox-ppc64le.patch @@ -0,0 +1,28 @@ +diff -up firefox-36.0/mozilla-release/gfx/skia/trunk/include/core/SkPreConfig.h.ppc64le firefox-36.0/mozilla-release/gfx/skia/trunk/include/core/SkPreConfig.h +--- firefox-36.0/mozilla-release/gfx/skia/trunk/include/core/SkPreConfig.h.ppc64le 2015-02-20 03:01:40.000000000 +0100 ++++ firefox-36.0/mozilla-release/gfx/skia/trunk/include/core/SkPreConfig.h 2015-03-06 15:52:58.298050379 +0100 +@@ -90,6 +90,13 @@ + #endif + + ////////////////////////////////////////////////////////////////////// ++#if !defined(SK_CPU_BENDIAN) && !defined(SK_CPU_LENDIAN) ++ #if defined(__BIG_ENDIAN__) ++ #define SK_CPU_BENDIAN ++ #elif defined(__LITTLE_ENDIAN__) ++ #define SK_CPU_LENDIAN ++ #endif ++#endif + + #if !defined(SK_CPU_BENDIAN) && !defined(SK_CPU_LENDIAN) + #if defined(__sparc) || defined(__sparc__) || \ +diff -up firefox-36.0/mozilla-release/js/src/jsdtoa.cpp.ppc64le firefox-36.0/mozilla-release/js/src/jsdtoa.cpp +--- firefox-36.0/mozilla-release/js/src/jsdtoa.cpp.ppc64le 2015-02-20 03:01:49.000000000 +0100 ++++ firefox-36.0/mozilla-release/js/src/jsdtoa.cpp 2015-03-06 15:54:38.348048226 +0100 +@@ -52,6 +52,7 @@ static inline void dtoa_free(void* p) { + #define MALLOC dtoa_malloc + #define FREE dtoa_free + #include "dtoa.c" ++#undef CONST + + /* Mapping of JSDToStrMode -> js_dtoa mode */ + static const uint8_t dtoaModes[] = { |