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