diff --git a/nss-3.53-strict-proto-fix.patch b/nss-3.53-strict-proto-fix.patch new file mode 100644 index 0000000..08f8ffa --- /dev/null +++ b/nss-3.53-strict-proto-fix.patch @@ -0,0 +1,12 @@ +diff -up ./nss/lib/pk11wrap/pk11pub.h.strict_proto_fix ./nss/lib/pk11wrap/pk11pub.h +--- ./nss/lib/pk11wrap/pk11pub.h.strict_proto_fix 2020-06-04 16:48:54.721954514 -0700 ++++ ./nss/lib/pk11wrap/pk11pub.h 2020-06-04 16:49:17.074066050 -0700 +@@ -948,7 +948,7 @@ PRBool SECMOD_HasRootCerts(void); + * the system state independent of the database state and can be called + * before NSS initializes. + */ +-int SECMOD_GetSystemFIPSEnabled(); ++int SECMOD_GetSystemFIPSEnabled(void); + + SEC_END_PROTOS + diff --git a/nss.spec b/nss.spec index d2b55bb..a8dfc56 100644 --- a/nss.spec +++ b/nss.spec @@ -44,7 +44,7 @@ rpm.define(string.format("nss_release_tag NSS_%s_RTM", Summary: Network Security Services Name: nss Version: %{nss_version} -Release: 1%{?dist} +Release: 2%{?dist} License: MPLv2.0 URL: http://www.mozilla.org/projects/security/pki/nss/ Requires: nspr >= %{nspr_version} @@ -112,6 +112,8 @@ Patch12: nss-signtool-format.patch Patch20: nss-gcm-param-default-pkcs11v2.patch %endif %endif +# Upstream bug https://bugzilla.mozilla.org/show_bug.cgi?id=1643528 +Patch30: nss-3.53-strict-proto-fix.patch %description Network Security Services (NSS) is a set of libraries designed to @@ -888,6 +890,9 @@ update-crypto-policies &> /dev/null || : %changelog +* Thu Jun 4 2020 Bob Relyea - 3.53.0-2 +- Fix non-strict prototype in pk11pub.h + * Mon Jun 1 2020 Daiki Ueno - 3.53.0-1 - Update to NSS 3.53