summaryrefslogtreecommitdiff
path: root/dev-libs/nss/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-06 15:39:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-06 15:39:49 +0100
commita52a3a626c1d57fc0b3dbf58e79a23e88c3dd4ff (patch)
tree82d493ce372e412edd2cd56af2108b00677d5f74 /dev-libs/nss/files
parent996d1cba721b044876526a7f3c1d2ef1fcc90bb4 (diff)
gentoo auto-resync : 06:06:2023 - 15:39:49
Diffstat (limited to 'dev-libs/nss/files')
-rw-r--r--dev-libs/nss/files/nss-3.90-arm64-simd.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/nss/files/nss-3.90-arm64-simd.patch b/dev-libs/nss/files/nss-3.90-arm64-simd.patch
new file mode 100644
index 000000000000..994fd9a47a6c
--- /dev/null
+++ b/dev-libs/nss/files/nss-3.90-arm64-simd.patch
@@ -0,0 +1,27 @@
+https://bugs.gentoo.org/907901
+https://bugzilla.mozilla.org/show_bug.cgi?id=1836781
+https://github.com/nss-dev/nss/commit/c07c4e073d95a25343cbf56b4a830a71e432869e
+
+From c07c4e073d95a25343cbf56b4a830a71e432869e Mon Sep 17 00:00:00 2001
+From: Natalia Kulatova <nkulatova@mozilla.com>
+Date: Mon, 5 Jun 2023 16:09:58 +0000
+Subject: [PATCH] Bug 1836781 - Disabling ASM C25519 for A but X86_64
+ r=bbeurdouche,nss-reviewers
+
+Differential Revision: https://phabricator.services.mozilla.com/D179969
+
+--HG--
+extra : moz-landing-system : lando
+--- a/lib/freebl/Makefile
++++ b/lib/freebl/Makefile
+@@ -568,7 +568,9 @@ ifneq ($(shell $(CC) -? 2>&1 >/dev/null </dev/null | sed -e 's/:.*//;1q'),lcc)
+ HAVE_INT128_SUPPORT = 1
+ DEFINES += -DHAVE_INT128_SUPPORT
+ else ifeq (1,$(CC_IS_GCC))
+- SUPPORTS_VALE_CURVE25519 = 1
++ ifeq ($(CPU_ARCH),x86_64)
++ SUPPORTS_VALE_CURVE25519 = 1
++ endif
+ ifneq (,$(filter 4.6 4.7 4.8 4.9,$(word 1,$(GCC_VERSION)).$(word 2,$(GCC_VERSION))))
+ HAVE_INT128_SUPPORT = 1
+ DEFINES += -DHAVE_INT128_SUPPORT