components/desktop/thunderbird/patches/firefox-22-snappy.patch
author Stacy Yeh <stacy.yeh@oracle.com>
Tue, 19 Jul 2016 14:15:23 -0700
changeset 6431 e4667e7df088
permissions -rw-r--r--
23601539 Update Thunderbird to version 45.1.0

Defined Endians.
Can potentially go upstream.

diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -9620,6 +9620,18 @@
 #define SOLARIS 1
 EOF
 
+    if test "$CPU_ARCH" = "sparc"; then
+ cat >> confdefs.pytmp <<\EOF
+  (''' WORDS_BIGENDIAN ''', ' 1 ')
+  (''' IS_BIG_ENDIAN ''', ' 1 ')
+EOF
+cat >> confdefs.h <<\EOF
+#define WORDS_BIGENDIAN 1
+#define IS_BIG_ENDIAN 1
+EOF
+
+    fi
+
     TARGET_NSPR_MDCPUCFG='\"md/_solaris.cfg\"'
     MOZ_FIX_LINK_PATHS=
     # $ORIGIN/.. is for shared libraries under components/ to locate shared