4cf60e
diff -up firefox-36.0/mozilla-release/gfx/skia/skia/include/core/SkPreConfig.h.ppc64le firefox-36.0/mozilla-release/gfx/skia/skia/include/core/SkPreConfig.h
4cf60e
--- firefox-36.0/mozilla-release/gfx/skia/skia/include/core/SkPreConfig.h.ppc64le	2015-02-20 03:01:40.000000000 +0100
4cf60e
+++ firefox-36.0/mozilla-release/gfx/skia/skia/include/core/SkPreConfig.h	2015-03-06 15:52:58.298050379 +0100
3a67ab
@@ -90,6 +90,13 @@
3a67ab
 #endif
3a67ab
 
3a67ab
 //////////////////////////////////////////////////////////////////////
3a67ab
+#if !defined(SK_CPU_BENDIAN) && !defined(SK_CPU_LENDIAN)
3a67ab
+    #if defined(__BIG_ENDIAN__)
3a67ab
+         #define SK_CPU_BENDIAN
3a67ab
+    #elif defined(__LITTLE_ENDIAN__)
3a67ab
+        #define SK_CPU_LENDIAN
3a67ab
+    #endif
3a67ab
+#endif
3a67ab
 
3a67ab
 #if !defined(SK_CPU_BENDIAN) && !defined(SK_CPU_LENDIAN)
3a67ab
     #if defined(__sparc) || defined(__sparc__) || \
3a67ab
diff -up firefox-36.0/mozilla-release/js/src/jsdtoa.cpp.ppc64le firefox-36.0/mozilla-release/js/src/jsdtoa.cpp
3a67ab
--- firefox-36.0/mozilla-release/js/src/jsdtoa.cpp.ppc64le	2015-02-20 03:01:49.000000000 +0100
3a67ab
+++ firefox-36.0/mozilla-release/js/src/jsdtoa.cpp	2015-03-06 15:54:38.348048226 +0100
3a67ab
@@ -52,6 +52,7 @@ static inline void dtoa_free(void* p) {
3a67ab
 #define MALLOC dtoa_malloc
3a67ab
 #define FREE dtoa_free
3a67ab
 #include "dtoa.c"
3a67ab
+#undef CONST
3a67ab
 
3a67ab
 /* Mapping of JSDToStrMode -> js_dtoa mode */
3a67ab
 static const uint8_t dtoaModes[] = {