Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mozilla-nspr for openSUSE:Factory 
checked in at 2022-10-19 13:17:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mozilla-nspr (Old)
 and      /work/SRC/openSUSE:Factory/.mozilla-nspr.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mozilla-nspr"

Wed Oct 19 13:17:16 2022 rev:85 rq:1029750 version:4.35

Changes:
--------
--- /work/SRC/openSUSE:Factory/mozilla-nspr/mozilla-nspr.changes        
2022-08-19 17:53:52.623773234 +0200
+++ /work/SRC/openSUSE:Factory/.mozilla-nspr.new.2275/mozilla-nspr.changes      
2022-10-19 13:17:21.761183016 +0200
@@ -1,0 +2,10 @@
+Sun Oct 16 19:59:43 UTC 2022 - Wolfgang Rosenauer <w...@rosenauer.org>
+
+- update to version 4.35
+  * fixes for building with clang
+  * use the number of online processors for the
+    PR_GetNumberOfProcessors() API on some platforms
+  * fix build on mips+musl libc
+  * Add support for the LoongArch 64-bit architecture
+
+-------------------------------------------------------------------

Old:
----
  nspr-4.34.1.tar.gz

New:
----
  nspr-4.35.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mozilla-nspr.spec ++++++
--- /var/tmp/diff_new_pack.g9zzTK/_old  2022-10-19 13:17:22.733185030 +0200
+++ /var/tmp/diff_new_pack.g9zzTK/_new  2022-10-19 13:17:22.737185039 +0200
@@ -20,7 +20,7 @@
 %define useccache     1
 
 Name:           mozilla-nspr
-Version:        4.34.1
+Version:        4.35
 Release:        0
 Summary:        Netscape Portable Runtime
 License:        MPL-2.0

++++++ nspr-4.34.1.tar.gz -> nspr-4.35.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34.1/nspr/.hg_archival.txt 
new/nspr-4.35/nspr/.hg_archival.txt
--- old/nspr-4.34.1/nspr/.hg_archival.txt       2022-08-04 22:24:12.000000000 
+0200
+++ new/nspr-4.35/nspr/.hg_archival.txt 2022-09-12 13:40:15.000000000 +0200
@@ -1,4 +1,4 @@
 repo: a4b34919bf34db2ee22acbbc305693c8980b6dc6
-node: 8ade27144af69b35b1aef37e3f9e1353258b7d70
-branch: NSPR_4_34_BRANCH
-tag: NSPR_4_34_1_RTM
+node: b563bfc16c887c48b038b7b441fcc4e40a126d3b
+branch: default
+tag: NSPR_4_35_RTM
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34.1/nspr/configure 
new/nspr-4.35/nspr/configure
--- old/nspr-4.34.1/nspr/configure      2022-08-04 22:24:12.000000000 +0200
+++ new/nspr-4.35/nspr/configure        2022-09-12 13:40:15.000000000 +0200
@@ -2486,8 +2486,8 @@
   program_prefix=${target_alias}-
 
 MOD_MAJOR_VERSION=4
-MOD_MINOR_VERSION=34
-MOD_PATCH_VERSION=1
+MOD_MINOR_VERSION=35
+MOD_PATCH_VERSION=0
 NSPR_MODNAME=nspr20
 _HAVE_PTHREADS=
 USE_PTHREADS=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34.1/nspr/configure.in 
new/nspr-4.35/nspr/configure.in
--- old/nspr-4.34.1/nspr/configure.in   2022-08-04 22:24:12.000000000 +0200
+++ new/nspr-4.35/nspr/configure.in     2022-09-12 13:40:15.000000000 +0200
@@ -15,8 +15,8 @@
 dnl = Defaults
 dnl ========================================================
 MOD_MAJOR_VERSION=4
-MOD_MINOR_VERSION=34
-MOD_PATCH_VERSION=1
+MOD_MINOR_VERSION=35
+MOD_PATCH_VERSION=0
 NSPR_MODNAME=nspr20
 _HAVE_PTHREADS=
 USE_PTHREADS=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34.1/nspr/pr/include/md/_linux.cfg 
new/nspr-4.35/nspr/pr/include/md/_linux.cfg
--- old/nspr-4.34.1/nspr/pr/include/md/_linux.cfg       2022-08-04 
22:24:12.000000000 +0200
+++ new/nspr-4.35/nspr/pr/include/md/_linux.cfg 2022-09-12 13:40:15.000000000 
+0200
@@ -499,7 +499,7 @@
 #elif defined(__mips__)
 
 /* For _ABI64 */
-#include <sgidefs.h>
+#include <asm/sgidefs.h>
 
 #ifdef __MIPSEB__
 #define IS_BIG_ENDIAN 1
@@ -1250,6 +1250,52 @@
 #define PR_ALIGN_OF_FLOAT   4
 #define PR_ALIGN_OF_DOUBLE  8
 #define PR_ALIGN_OF_POINTER 8
+#define PR_ALIGN_OF_WORD    8
+
+#define PR_BYTES_PER_WORD_LOG2  3
+#define PR_BYTES_PER_DWORD_LOG2 3
+
+#elif defined(__loongarch64)
+
+#undef  IS_BIG_ENDIAN
+#define IS_LITTLE_ENDIAN 1
+#define IS_64
+
+#define PR_BYTES_PER_BYTE   1
+#define PR_BYTES_PER_SHORT  2
+#define PR_BYTES_PER_INT    4
+#define PR_BYTES_PER_INT64  8
+#define PR_BYTES_PER_LONG   8
+#define PR_BYTES_PER_FLOAT  4
+#define PR_BYTES_PER_DOUBLE 8
+#define PR_BYTES_PER_WORD   8
+#define PR_BYTES_PER_DWORD  8
+
+#define PR_BITS_PER_BYTE    8
+#define PR_BITS_PER_SHORT   16
+#define PR_BITS_PER_INT     32
+#define PR_BITS_PER_INT64   64
+#define PR_BITS_PER_LONG    64
+#define PR_BITS_PER_FLOAT   32
+#define PR_BITS_PER_DOUBLE  64
+#define PR_BITS_PER_WORD    64
+
+#define PR_BITS_PER_BYTE_LOG2   3
+#define PR_BITS_PER_SHORT_LOG2  4
+#define PR_BITS_PER_INT_LOG2    5
+#define PR_BITS_PER_INT64_LOG2  6
+#define PR_BITS_PER_LONG_LOG2   6
+#define PR_BITS_PER_FLOAT_LOG2  5
+#define PR_BITS_PER_DOUBLE_LOG2 6
+#define PR_BITS_PER_WORD_LOG2   6
+
+#define PR_ALIGN_OF_SHORT   2
+#define PR_ALIGN_OF_INT     4
+#define PR_ALIGN_OF_LONG    8
+#define PR_ALIGN_OF_INT64   8
+#define PR_ALIGN_OF_FLOAT   4
+#define PR_ALIGN_OF_DOUBLE  8
+#define PR_ALIGN_OF_POINTER 8
 #define PR_ALIGN_OF_WORD    8
 
 #define PR_BYTES_PER_WORD_LOG2  3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34.1/nspr/pr/include/md/_linux.h 
new/nspr-4.35/nspr/pr/include/md/_linux.h
--- old/nspr-4.34.1/nspr/pr/include/md/_linux.h 2022-08-04 22:24:12.000000000 
+0200
+++ new/nspr-4.35/nspr/pr/include/md/_linux.h   2022-09-12 13:40:15.000000000 
+0200
@@ -73,6 +73,8 @@
 #define _PR_SI_ARCHITECTURE "nds32"
 #elif defined(__xtensa__)
 #define _PR_SI_ARCHITECTURE "xtensa"
+#elif defined(__loongarch64)
+#define _PR_SI_ARCHITECTURE "loongarch64"
 #else
 #error "Unknown CPU architecture"
 #endif
@@ -141,6 +143,18 @@
 #define _MD_ATOMIC_SET                _PR_x86_64_AtomicSet
 #endif
 
+#if defined(__loongarch__)
+#if defined(__GNUC__)
+/* Use GCC built-in functions */
+#define _PR_HAVE_ATOMIC_OPS
+#define _MD_INIT_ATOMIC()
+#define _MD_ATOMIC_INCREMENT(ptr) __sync_add_and_fetch(ptr, 1)
+#define _MD_ATOMIC_DECREMENT(ptr) __sync_sub_and_fetch(ptr, 1)
+#define _MD_ATOMIC_ADD(ptr, i) __sync_add_and_fetch(ptr, i)
+#define _MD_ATOMIC_SET(ptr, nv) __sync_lock_test_and_set(ptr, nv)
+#endif
+#endif
+
 #if defined(__or1k__)
 #if defined(__GNUC__)
 /* Use GCC built-in functions */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34.1/nspr/pr/include/prinit.h 
new/nspr-4.35/nspr/pr/include/prinit.h
--- old/nspr-4.34.1/nspr/pr/include/prinit.h    2022-08-04 22:24:12.000000000 
+0200
+++ new/nspr-4.35/nspr/pr/include/prinit.h      2022-09-12 13:40:15.000000000 
+0200
@@ -31,10 +31,10 @@
 ** The format of the version string is
 **     "<major version>.<minor version>[.<patch level>] [<Beta>]"
 */
-#define PR_VERSION  "4.34.1"
+#define PR_VERSION  "4.35"
 #define PR_VMAJOR   4
-#define PR_VMINOR   34
-#define PR_VPATCH   1
+#define PR_VMINOR   35
+#define PR_VPATCH   0
 #define PR_BETA     PR_FALSE
 
 /*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34.1/nspr/pr/src/io/prsocket.c 
new/nspr-4.35/nspr/pr/src/io/prsocket.c
--- old/nspr-4.34.1/nspr/pr/src/io/prsocket.c   2022-08-04 22:24:12.000000000 
+0200
+++ new/nspr-4.35/nspr/pr/src/io/prsocket.c     2022-09-12 13:40:15.000000000 
+0200
@@ -322,7 +322,7 @@
 #if defined(_WIN64)
             if (fd->secret->overlappedActive) {
                 PRInt32 rvSent;
-                if (GetOverlappedResult(osfd, &fd->secret->ol, &rvSent, FALSE) 
== FALSE) {
+                if (GetOverlappedResult((HANDLE)osfd, &fd->secret->ol, 
&rvSent, FALSE) == FALSE) {
                     err = WSAGetLastError();
                     PR_LOG(_pr_io_lm, PR_LOG_MIN,
                            ("SocketConnectContinue GetOverlappedResult failed 
%d\n", err));
@@ -354,7 +354,7 @@
     if (fd->secret->overlappedActive) {
         PR_ASSERT(fd->secret->nonblocking);
         PRInt32 rvSent;
-        if (GetOverlappedResult(osfd, &fd->secret->ol, &rvSent, FALSE) == 
TRUE) {
+        if (GetOverlappedResult((HANDLE)osfd, &fd->secret->ol, &rvSent, FALSE) 
== TRUE) {
             fd->secret->overlappedActive = PR_FALSE;
             PR_LOG(_pr_io_lm, PR_LOG_MIN,
                    ("SocketConnectContinue GetOverlappedResult succeeded\n"));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34.1/nspr/pr/src/md/unix/unix.c 
new/nspr-4.35/nspr/pr/src/md/unix/unix.c
--- old/nspr-4.34.1/nspr/pr/src/md/unix/unix.c  2022-08-04 22:24:12.000000000 
+0200
+++ new/nspr-4.35/nspr/pr/src/md/unix/unix.c    2022-09-12 13:40:15.000000000 
+0200
@@ -2755,8 +2755,8 @@
     _md_iovector._mmap64 = mmap64;
 #if (defined(ANDROID) && __ANDROID_API__ < 21)
     /* Same as the open64 case for Android. */
-    _md_iovector._fstat64 = fstat;
-    _md_iovector._stat64 = stat;
+    _md_iovector._fstat64 = (_MD_Fstat64)fstat;
+    _md_iovector._stat64 = (_MD_Stat64)stat;
 #else
     _md_iovector._fstat64 = fstat64;
     _md_iovector._stat64 = stat64;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34.1/nspr/pr/src/md/windows/w95sock.c 
new/nspr-4.35/nspr/pr/src/md/windows/w95sock.c
--- old/nspr-4.34.1/nspr/pr/src/md/windows/w95sock.c    2022-08-04 
22:24:12.000000000 +0200
+++ new/nspr-4.35/nspr/pr/src/md/windows/w95sock.c      2022-09-12 
13:40:15.000000000 +0200
@@ -491,7 +491,7 @@
             if ( rv < 0 ) {
                 return -1;
             }
-            rv = GetOverlappedResult(osfd, &fd->secret->ol, &rvSent, FALSE);
+            rv = GetOverlappedResult((HANDLE)osfd, &fd->secret->ol, &rvSent, 
FALSE);
             if ( rv == TRUE ) {
                 return rvSent;
             } else {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34.1/nspr/pr/src/misc/prsystem.c 
new/nspr-4.35/nspr/pr/src/misc/prsystem.c
--- old/nspr-4.34.1/nspr/pr/src/misc/prsystem.c 2022-08-04 22:24:12.000000000 
+0200
+++ new/nspr-4.35/nspr/pr/src/misc/prsystem.c   2022-09-12 13:40:15.000000000 
+0200
@@ -206,7 +206,11 @@
     size_t len = sizeof(numCpus);
 
     mib[0] = CTL_HW;
+#ifdef HW_NCPUONLINE
+    mib[1] = HW_NCPUONLINE;
+#else
     mib[1] = HW_NCPU;
+#endif
     rc = sysctl( mib, 2, &numCpus, &len, NULL, 0 );
     if ( -1 == rc )  {
         numCpus = -1; /* set to -1 for return value on error */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.34.1/nspr/pr/tests/vercheck.c 
new/nspr-4.35/nspr/pr/tests/vercheck.c
--- old/nspr-4.34.1/nspr/pr/tests/vercheck.c    2022-08-04 22:24:12.000000000 
+0200
+++ new/nspr-4.35/nspr/pr/tests/vercheck.c      2022-09-12 13:40:15.000000000 
+0200
@@ -58,8 +58,8 @@
     "3.0", "3.0.1",
     "3.1", "3.1.1", "3.1.2", "3.1.3",
     "3.5", "3.5.1",
-    "4.34.2",
-    "4.35", "4.35.1",
+    "4.35.1",
+    "4.36", "4.36.1",
     "10.0", "11.1", "12.14.20"
 };
 

Reply via email to