svn commit: r460255 - head/security/nss/files
Jan Beich
jbeich at FreeBSD.org
Mon Jan 29 11:11:32 UTC 2018
Author: jbeich
Date: Mon Jan 29 11:11:31 2018
New Revision: 460255
URL: https://svnweb.freebsd.org/changeset/ports/460255
Log:
security/nss: unbreak on aarch64 after r459458
PR: 225326
Submitted by: mikael.urankar at gmail.com
Obtained from: upstream (NSS 3.36)
MFH: 2018Q1
Added:
head/security/nss/files/patch-bug1432455 (contents, props changed)
Added: head/security/nss/files/patch-bug1432455
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/nss/files/patch-bug1432455 Mon Jan 29 11:11:31 2018 (r460255)
@@ -0,0 +1,27 @@
+commit 1668fafc1db4
+Author: Daiki Ueno <dueno at redhat.com>
+Date: Tue Jan 23 13:29:34 2018 +0100
+
+ Bug 1432455, Build Hacl_Poly1305_64.o on AArch64 even with make, r=fkiefer
+---
+ lib/freebl/Makefile | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git lib/freebl/Makefile lib/freebl/Makefile
+index 0b3daa2756..6c8e6a2ead 100644
+--- lib/freebl/Makefile
++++ lib/freebl/Makefile
+@@ -527,7 +527,12 @@ ifndef NSS_DISABLE_CHACHAPOLY
+ EXTRA_SRCS += chacha20_vec.c
+ endif
+ else
+- EXTRA_SRCS += poly1305.c
++ ifeq ($(CPU_ARCH),aarch64)
++ EXTRA_SRCS += Hacl_Poly1305_64.c
++ else
++ EXTRA_SRCS += poly1305.c
++ endif
++
+ EXTRA_SRCS += chacha20.c
+ VERIFIED_SRCS += Hacl_Chacha20.c
+ endif # x86_64
More information about the svn-ports-all
mailing list