From 2bdda3a809789e364c829a75a9d4fa3cdcd4aa54 Mon Sep 17 00:00:00 2001 From: Frantisek Krenzelok Date: Tue, 6 Jun 2023 08:48:06 +0200 Subject: [PATCH] Fix: add condition for architecture specific assebly feature Upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1836781 Additional bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1836925 Signed-off-by: Frantisek Krenzelok --- nss-3.90-DisablingASM.patch | 36 ++++++++++++++++++++++++++++++++++++ nss.spec | 7 +++++++ 2 files changed, 43 insertions(+) create mode 100644 nss-3.90-DisablingASM.patch diff --git a/nss-3.90-DisablingASM.patch b/nss-3.90-DisablingASM.patch new file mode 100644 index 0000000..3574a47 --- /dev/null +++ b/nss-3.90-DisablingASM.patch @@ -0,0 +1,36 @@ +diff --git a/lib/freebl/Makefile b/lib/freebl/Makefile +--- a/lib/freebl/Makefile ++++ b/lib/freebl/Makefile +@@ -560,6 +560,9 @@ else + endif # Solaris for non-sparc family CPUs + endif # target == SunO + ++# As the result of the bug https://bugzilla.mozilla.org/show_bug.cgi?id=1836925 ++# we currently totally removing the support of Vale implementation of Curve25519 ++SUPPORTS_VALE_CURVE25519 = 0 + ifdef USE_64 + # no __int128 at least up to lcc 1.23 (pretending to be gcc5) + # NB: CC_NAME is not defined here +@@ -568,7 +571,6 @@ ifneq ($(shell $(CC) -? 2>&1 >/dev/null /dev/null || : %changelog +* Thu Jun 6 2023 Frantisek Krenzelok - 3.90.0-1 +- Add patch for https://bugzilla.mozilla.org/show_bug.cgi?id=1836781 & + https://bugzilla.mozilla.org/show_bug.cgi?id=1836925 * Mon Jun 5 2023 Frantisek Krenzelok - 3.90.0-1 - Update %patch syntax