From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] nss: update to 3.49.1
Date: Wed, 15 Jan 2020 17:07:53 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18317@inbox.vuxu.org> (raw)
[-- 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";;
next reply other threads:[~2020-01-15 16:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-15 16:07 voidlinux-github [this message]
2020-01-17 13:54 ` [PR PATCH] [Merged]: " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18317@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).