nss: update to 3.77.

This commit is contained in:
Đoàn Trần Công Danh 2022-04-03 14:51:11 +07:00 committed by Đoàn Trần Công Danh
parent c668c0b010
commit ca2252e1a7
2 changed files with 3 additions and 23 deletions

View file

@ -1,20 +0,0 @@
Source: https://bugzilla.mozilla.org/show_bug.cgi?id=1758478
diff --git a/nss/cpputil/databuffer.h b/nss/cpputil/databuffer.h
index 8d34e1a..6aee509 100644
--- a/nss/cpputil/databuffer.h
+++ b/nss/cpputil/databuffer.h
@@ -33,11 +33,9 @@ class DataBuffer {
return *this;
}
DataBuffer& operator=(DataBuffer&& other) {
- if (this == &other) {
- data_ = other.data_;
- len_ = other.len_;
- other.data_ = nullptr;
- other.len_ = 0;
+ if (this != &other) {
+ std::swap(data_, other.data_);
+ std::swap(len_, other.len_);
}
return *this;
}

View file

@ -3,9 +3,9 @@
_nsprver=4.32
pkgname=nss
version=3.76
version=3.77
revision=1
hostmakedepends="perl"
hostmakedepends="perl which"
makedepends="nspr-devel sqlite-devel zlib-devel"
depends="nspr>=${_nsprver}"
short_desc="Mozilla Network Security Services"
@ -13,7 +13,7 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="MPL-2.0"
homepage="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
distfiles="${MOZILLA_SITE}/security/nss/releases/NSS_${version//\./_}_RTM/src/nss-${version}.tar.gz"
checksum=1b8e0310add364d2ade40620cde0f1c37f4f00a6999b2d3e7ea8dacda4aa1630
checksum=825edf5a2fd35b788a23ff80face591f82919ae3ad2b8f77d424a450d618dedd
export NS_USE_GCC=1
export LIBRUNPATH=