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