--- a/components/desktop/thunderbird/patches/firefox29-45-snappy.patch Tue Mar 01 10:33:35 2016 -0800
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-Solaris studio doesn't use __i386__ and __x86_64__ defined, instead uses
-alternate definitions.
-If we use GCC, we may not need this part of the patch.
-The second part of the patch defined Endians.
-Needs to go upstream.
-
---- comm-esr31/mozilla/other-licenses/snappy/src/snappy-stubs-internal.h.orig 2015-06-04 17:42:51.512176985 -0700
-+++ comm-esr31/mozilla/other-licenses/snappy/src/snappy-stubs-internal.h 2015-06-04 17:42:51.521372882 -0700
-@@ -178,7 +178,7 @@
-
- // Potentially unaligned loads and stores.
-
--#if defined(__i386__) || defined(__x86_64__) || defined(__powerpc__)
-+#if defined(__i386__) || defined(__x86_64__) || defined(__powerpc__) || defined(__i386) || defined(__x86_64)
-
- #define UNALIGNED_LOAD16(_p) (*reinterpret_cast<const uint16 *>(_p))
- #define UNALIGNED_LOAD32(_p) (*reinterpret_cast<const uint32 *>(_p))
---- comm-esr31/mozilla//configure.orig 2015-06-04 17:42:51.515409215 -0700
-+++ comm-esr31/mozilla//configure 2015-06-04 17:42:51.524041156 -0700
-@@ -9660,6 +9660,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