Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging 
/ Packages / lib32-nss


Commits:
4f885b0f by Jan Alexander Steffens (heftig) at 2026-02-11T21:33:01+01:00
3.120.1-1

- - - - -


4 changed files:

- .SRCINFO
- + 0001-Bug-2012313-fix-build-with-glibc-2.43-assignment-dis.patch
- 0001-Hack-mpi_x86.s-to-work-with-fno-plt.patch → 
0002-Hack-mpi_x86.s-to-work-with-fno-plt.patch
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = lib32-nss
        pkgdesc = Network Security Services (32-bit)
-       pkgver = 3.120
+       pkgver = 3.120.1
        pkgrel = 1
        url = https://firefox-source-docs.mozilla.org/security/nss/index.html
        arch = x86_64
@@ -15,9 +15,11 @@ pkgbase = lib32-nss
        depends = lib32-sqlite
        depends = lib32-zlib
        depends = nss
-       source = hg+https://hg.mozilla.org/projects/nss#tag=NSS_3_120_RTM
-       source = 0001-Hack-mpi_x86.s-to-work-with-fno-plt.patch
-       b2sums = 
3e3f5db816f5a5ea5ca510c7c2916671e8dd5ec6096afb68b0b61641c10b50990761af7874c92aa0191ac3d3d888676a7c420fd91f5ba23fdffb00f8f919d32f
+       source = hg+https://hg.mozilla.org/projects/nss#tag=NSS_3_120_1_RTM
+       source = 0001-Bug-2012313-fix-build-with-glibc-2.43-assignment-dis.patch
+       source = 0002-Hack-mpi_x86.s-to-work-with-fno-plt.patch
+       b2sums = 
4218ec30a16da54cb6dfe1a211dd2d58ed5424695209320de7db61448da46fa2c99ee6c8d163a54f920bcddc2512a376203bbdc400eb173d050b4e364bab4ff9
+       b2sums = 
7e34d6e8251a3690aa64887af067f26791766a8ae97f8b0bb1d90c8d568494240a28bf6121ab9478b6372a4f4c01fdeb5be93660580126487f491fddbeb1a267
        b2sums = 
6d7bfcfc2b7681ca24b220b8f07d55e305342ee4e3475a221f71d21c83b5a5e998ef9e2779ca1c76d9075a80de0f42a7f97565ab568dc47530ee2accc9eec966
 
 pkgname = lib32-nss


=====================================
0001-Bug-2012313-fix-build-with-glibc-2.43-assignment-dis.patch
=====================================
@@ -0,0 +1,33 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum <[email protected]>
+Date: Mon, 2 Feb 2026 19:11:03 +0000
+Subject: [PATCH] Bug 2012313 - fix build with glibc-2.43 assignment discards
+ 'const' qualifier from pointer. r=nss-reviewers,keeler
+
+Fixes:
+    In file included from lowhash_vector.c:65:
+    genload.c: In function 'loader_LoadLibInReferenceDir':
+    genload.c:92:7: error: assignment discards 'const' qualifier from pointer 
target type [-Werror=discarded-qualifiers]
+       92 |     c = strrchr(referencePath, PR_GetDirectorySeparator());
+          |       ^
+
+Signed-off-by: Rudi Heitbaum <[email protected]>
+
+Differential Revision: https://phabricator.services.mozilla.com/D281507
+---
+ lib/freebl/genload.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/freebl/genload.c b/lib/freebl/genload.c
+index 832deb58c470..e3231e3e527f 100644
+--- a/lib/freebl/genload.c
++++ b/lib/freebl/genload.c
+@@ -85,7 +85,7 @@ loader_LoadLibInReferenceDir(const char* referencePath, 
const char* name)
+ {
+     PRLibrary* dlh = NULL;
+     char* fullName = NULL;
+-    char* c;
++    const char* c;
+     PRLibSpec libSpec;
+ 
+     /* Remove the trailing filename from referencePath and add the new one */


=====================================
0001-Hack-mpi_x86.s-to-work-with-fno-plt.patch → 
0002-Hack-mpi_x86.s-to-work-with-fno-plt.patch
=====================================


=====================================
PKGBUILD
=====================================
@@ -7,7 +7,7 @@ pkgbase=lib32-nss
 pkgname=(
   lib32-nss
 )
-pkgver=3.120
+pkgver=3.120.1
 pkgrel=1
 pkgdesc="Network Security Services (32-bit)"
 url="https://firefox-source-docs.mozilla.org/security/nss/index.html";
@@ -29,16 +29,21 @@ makedepends=(
 )
 source=(
   "hg+https://hg.mozilla.org/projects/nss#tag=NSS_${pkgver//./_}_RTM";
-  0001-Hack-mpi_x86.s-to-work-with-fno-plt.patch
+  0001-Bug-2012313-fix-build-with-glibc-2.43-assignment-dis.patch
+  0002-Hack-mpi_x86.s-to-work-with-fno-plt.patch
 )
-b2sums=('3e3f5db816f5a5ea5ca510c7c2916671e8dd5ec6096afb68b0b61641c10b50990761af7874c92aa0191ac3d3d888676a7c420fd91f5ba23fdffb00f8f919d32f'
+b2sums=('4218ec30a16da54cb6dfe1a211dd2d58ed5424695209320de7db61448da46fa2c99ee6c8d163a54f920bcddc2512a376203bbdc400eb173d050b4e364bab4ff9'
+        
'7e34d6e8251a3690aa64887af067f26791766a8ae97f8b0bb1d90c8d568494240a28bf6121ab9478b6372a4f4c01fdeb5be93660580126487f491fddbeb1a267'
         
'6d7bfcfc2b7681ca24b220b8f07d55e305342ee4e3475a221f71d21c83b5a5e998ef9e2779ca1c76d9075a80de0f42a7f97565ab568dc47530ee2accc9eec966')
 
 prepare() {
   cd nss
 
+  # Fix build
+  patch -Np1 -i 
../0001-Bug-2012313-fix-build-with-glibc-2.43-assignment-dis.patch
+
   # https://bugzilla.mozilla.org/show_bug.cgi?id=1382942
-  patch -Np1 -i ../0001-Hack-mpi_x86.s-to-work-with-fno-plt.patch
+  patch -Np1 -i ../0002-Hack-mpi_x86.s-to-work-with-fno-plt.patch
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lib32-nss/-/commit/4f885b0f57866fcd7afde1af08db6385d9c3effe

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lib32-nss/-/commit/4f885b0f57866fcd7afde1af08db6385d9c3effe
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to