Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37370970
en ru br
Репозитории ALT
S:2.53.17.1-alt1
5.1: 1.1.18-alt2
4.1: 1.1.16-alt0.M41.1
+updates:1.1.13-alt0.M41.1
4.0: 1.1.12-alt0.M40.1
www.altlinux.org/Changes

Группа :: Сети/WWW
Пакет: seamonkey

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: seamonkey-2.53.2-alt-ppc64le-disable-broken-getProcessorLineSize-code.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin