git: 3fd38a529846 - main - security/nss: update to 3.113

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Fri, 20 Jun 2025 12:49:54 UTC
The branch main has been updated by cmt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3fd38a5298461274e6675c100c7453b6bb81f436

commit 3fd38a5298461274e6675c100c7453b6bb81f436
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2025-06-20 12:49:23 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2025-06-20 12:49:23 +0000

    security/nss: update to 3.113
    
    Release Notes:
      https://firefox-source-docs.mozilla.org/security/nss/releases/nss_3_113.html
---
 security/nss/Makefile               |  2 +-
 security/nss/distinfo               |  6 +++---
 security/nss/files/patch-bug1973105 | 23 +++++++++++++++++++++++
 3 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/security/nss/Makefile b/security/nss/Makefile
index cd09fec5a081..9078124dc1b9 100644
--- a/security/nss/Makefile
+++ b/security/nss/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	nss
-PORTVERSION=	3.112
+PORTVERSION=	3.113
 CATEGORIES=	security
 MASTER_SITES=	MOZILLA/security/${PORTNAME}/releases/${DISTNAME:tu:C/[-.]/_/g}_RTM/src
 
diff --git a/security/nss/distinfo b/security/nss/distinfo
index 4363042d1944..1b9b86ef2940 100644
--- a/security/nss/distinfo
+++ b/security/nss/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1748343929
-SHA256 (nss-3.112.tar.gz) = 33ae72d43b275957252adc8639e84229d3ae692a57b6191b059d9456b8568a68
-SIZE (nss-3.112.tar.gz) = 76620428
+TIMESTAMP = 1750348960
+SHA256 (nss-3.113.tar.gz) = acef06b512d3bd81c87a63b3c8653d258bb689d2191fc0e64decf5a1efa01c0f
+SIZE (nss-3.113.tar.gz) = 76625834
diff --git a/security/nss/files/patch-bug1973105 b/security/nss/files/patch-bug1973105
new file mode 100644
index 000000000000..ef2eea831b0d
--- /dev/null
+++ b/security/nss/files/patch-bug1973105
@@ -0,0 +1,23 @@
+commit 98cb80c5fba9550451f6df711a2ae460608acd5e
+Author: Christoph Moench-Tegeder <cmt@burggraben.net>
+
+    Bug 1973105 - remove out-of-function semicolon, r=rrelyea
+    
+    given the right flags, consumers of nss may fail with
+    : /usr/local/include/nss/pkcs11n.h:633:92: error: extra ';' outside of a function [-Werror,-Wextra-semi]
+    
+    Differential Revision: https://phabricator.services.mozilla.com/D254438
+
+diff --git lib/util/pkcs11n.h lib/util/pkcs11n.h
+index cba3f63ae..9365d697a 100644
+--- lib/util/pkcs11n.h
++++ lib/util/pkcs11n.h
+@@ -630,7 +630,7 @@ _NSS_DEPRECATE_DEFINE_TYPE(CK_TRUST, CKT_NSS_VALID,
+ #define CKT_NSS_VALID \
+     _NSS_DEPRECATE_DEFINE_VALUE(CKT_NSS_VALID, CKT_NSS_NOT_TRUSTED)
+ _NSS_DEPRECATE_DEFINE_TYPE(CK_TRUST, CKT_NSS_MUST_VERIFY,
+-                           "CKT_NSS_MUST_VERIFY really functions as CKT_NSS_TRUST_UNKNOWN");
++                           "CKT_NSS_MUST_VERIFY really functions as CKT_NSS_TRUST_UNKNOWN")
+ #define CKT_NSS_MUST_VERIFY \
+     _NSS_DEPRECATE_DEFINE_VALUE(CKT_NSS_MUST_VERIFY, CKT_NSS_TRUST_UNKNOWN)
+