ALT Linux repositórios
S: | 2.53.17.1-alt1 |
5.0: | 1.1.16-alt1 |
4.1: | 1.1.16-alt0.M41.1 |
+updates: | 1.1.13-alt0.M41.1 |
4.0: | 1.1.12-alt0.M40.1 |
Group :: Rede/WWW
RPM: seamonkey
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: seamonkey-2.53.2-alt-ppc64le-disable-broken-getProcessorLineSize-code.patch
Download
Download
diff --git a/mozilla/security/nss/lib/freebl/mpi/mpcpucache.c b/mozilla/security/nss/lib/freebl/mpi/mpcpucache.c
index 2ad291fab..a1fdedcbd 100644
--- a/mozilla/security/nss/lib/freebl/mpi/mpcpucache.c
+++ b/mozilla/security/nss/lib/freebl/mpi/mpcpucache.c
@@ -704,7 +704,11 @@ s_mpi_getProcessorLineSize()
#define MPI_GET_PROCESSOR_LINE_SIZE_DEFINED 1
#endif
-#if defined(__ppc64__)
+/*
+ * Build of this code is broken on ppc64le.
+ * Btw, clang defines __ppc64__ preprocessor macro, but gcc doesn't.
+ */
+#if defined(__ppc64__) && defined(__BIG_ENDIAN__)
/*
* Sigh, The PPC has some really nice features to help us determine cache
* size, since it had lots of direct control functions to do so. The POWER