Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] nss: update to 3.49.1
@ 2020-01-15 16:07 voidlinux-github
  2020-01-17 13:54 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2020-01-15 16:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

There is a new pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages nss-update
https://github.com/void-linux/void-packages/pull/18317

nss: update to 3.49.1


A patch file from https://github.com/void-linux/void-packages/pull/18317.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nss-update-18317.patch --]
[-- Type: text/x-diff, Size: 2514 bytes --]

From cf0d1bbc9ed38fe18473efef530b32a66414258d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 14 Jan 2020 07:47:32 +0700
Subject: [PATCH] nss: update to 3.49.1

---
 srcpkgs/nss/patches/arm32.patch | 11 +++++++++++
 srcpkgs/nss/template            | 21 +++++++++++++++++----
 2 files changed, 28 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/nss/patches/arm32.patch

diff --git a/srcpkgs/nss/patches/arm32.patch b/srcpkgs/nss/patches/arm32.patch
new file mode 100644
index 00000000000..b7fc799962d
--- /dev/null
+++ b/srcpkgs/nss/patches/arm32.patch
@@ -0,0 +1,11 @@
+--- nss/lib/freebl/Makefile
++++ nss/lib/freebl/Makefile
+@@ -782,7 +782,7 @@
+ 
+ ifeq ($(CPU_ARCH),arm)
+ $(OBJDIR)/$(PROG_PREFIX)aes-armv8$(OBJ_SUFFIX): CFLAGS += -march=armv8-a -mfpu=crypto-neon-fp-armv8
+-$(OBJDIR)/$(PROG_PREFIX)gcm-arm32-neon$(OBJ_SUFFIX): CFLAGS += -mfpu=neon
++# -mfpu=neon will be set by template files for armv7
+ endif
+ ifeq ($(CPU_ARCH),aarch64)
+ $(OBJDIR)/$(PROG_PREFIX)aes-armv8$(OBJ_SUFFIX): CFLAGS += -march=armv8-a+crypto
diff --git a/srcpkgs/nss/template b/srcpkgs/nss/template
index 781d29d83cc..3d1e709a0ac 100644
--- a/srcpkgs/nss/template
+++ b/srcpkgs/nss/template
@@ -3,7 +3,7 @@
 _nsprver=4.24
 
 pkgname=nss
-version=3.48
+version=3.49.1
 revision=1
 hostmakedepends="perl"
 makedepends="nspr-devel sqlite-devel zlib-devel"
@@ -13,7 +13,7 @@ maintainer="Doan Tran Cong Danh <congdanhqx@gmail.com>"
 license="MPL-2.0"
 homepage="https://www.mozilla.org/projects/security/pki/nss"
 distfiles="${MOZILLA_SITE}/security/nss/releases/NSS_${version//\./_}_RTM/src/nss-${version}.tar.gz"
-checksum=3f9c822a86a4e3e1bfe63e2ed0f922d8b7c2e0b7cafe36774b1c627970d0f8ac
+checksum=d9aa42e49e02bb0dc0a2f164604cfc718e11a2a06ddb266cd676376ac21b026e
 
 do_build() {
 	# Respect LDFLAGS
@@ -39,8 +39,21 @@ do_build() {
 
 	if [ "$CROSS_BUILD" ]; then
 		case "$XBPS_TARGET_MACHINE" in
-			aarch64*) _ARCH="aarch64"; _target_use64="USE_64=1"; CFLAGS+=" -DNS_PTR_GT_32";;
-			ppc64*) _ARCH="ppc64"; _target_use64="USE_64=1"; CFLAGS+=" -DNS_PTR_GT_32";;
+			aarch64*)
+				_ARCH="aarch64"
+				_target_use64="USE_64=1"
+				CFLAGS+=" -DNS_PTR_GT_32"
+				;;
+			ppc64*)
+				_ARCH="ppc64"
+				_target_use64="USE_64=1"
+				CFLAGS+=" -DNS_PTR_GT_32"
+				;;
+			armv7*)
+				_ARCH="arm"
+				CFLAGS+=" -mfpu=neon"
+				CXXFLAGS+=" -mfpu=neon"
+				;;
 			arm*) _ARCH="arm";;
 			mips*) _ARCH="mips";;
 			ppc|ppc-musl) _ARCH="ppc";;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: nss: update to 3.49.1
  2020-01-15 16:07 [PR PATCH] nss: update to 3.49.1 voidlinux-github
@ 2020-01-17 13:54 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2020-01-17 13:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 306 bytes --]

There's a merged pull request on the void-packages repository

nss: update to 3.49.1
https://github.com/void-linux/void-packages/pull/18317

Description:
- I run 3.49 for a while, nss 3.49.1 is a small update over nss 3.49
- [x] ./xbps-src -m x86_64 check nss 
- [x] ./xbps-src -m x86_64-musl check nss 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-17 13:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-15 16:07 [PR PATCH] nss: update to 3.49.1 voidlinux-github
2020-01-17 13:54 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).