Hello community,

here is the log from the commit of package mozilla-nspr for openSUSE:Factory 
checked in at 2020-01-11 14:37:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mozilla-nspr (Old)
 and      /work/SRC/openSUSE:Factory/.mozilla-nspr.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mozilla-nspr"

Sat Jan 11 14:37:47 2020 rev:73 rq:761943 version:4.24

Changes:
--------
--- /work/SRC/openSUSE:Factory/mozilla-nspr/mozilla-nspr.changes        
2019-12-02 11:29:42.406605510 +0100
+++ /work/SRC/openSUSE:Factory/.mozilla-nspr.new.6675/mozilla-nspr.changes      
2020-01-11 14:37:55.653134640 +0100
@@ -1,0 +2,8 @@
+Tue Jan  7 08:17:40 UTC 2020 - Wolfgang Rosenauer <w...@rosenauer.org>
+
+- update to version 4.24
+  * added macro PR_ASSERT_ARG
+  * removed some declarations
+  * added support for Nios-II, Nds32 and Microblaze architectures
+
+-------------------------------------------------------------------

Old:
----
  nspr-4.23.tar.gz

New:
----
  nspr-4.24.tar.gz

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

Other differences:
------------------
++++++ mozilla-nspr.spec ++++++
--- /var/tmp/diff_new_pack.oW01Iy/_old  2020-01-11 14:37:57.561135395 +0100
+++ /var/tmp/diff_new_pack.oW01Iy/_new  2020-01-11 14:37:57.597135409 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mozilla-nspr
 #
-# Copyright (c) 2019 SUSE LLC.
+# Copyright (c) 2020 SUSE LLC
 #               2006-2019 Wolfgang Rosenauer
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:           mozilla-nspr
-Version:        4.23
+Version:        4.24
 Release:        0
 Summary:        Netscape Portable Runtime
 License:        MPL-2.0

++++++ nspr-4.23.tar.gz -> nspr-4.24.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.23/nspr/.hg_archival.txt 
new/nspr-4.24/nspr/.hg_archival.txt
--- old/nspr-4.23/nspr/.hg_archival.txt 2019-10-15 16:21:38.000000000 +0200
+++ new/nspr-4.24/nspr/.hg_archival.txt 2019-12-02 18:58:37.000000000 +0100
@@ -1,4 +1,4 @@
 repo: a4b34919bf34db2ee22acbbc305693c8980b6dc6
-node: bf4cbb1cb5f2c08691773575a79e4240ea7300fc
-branch: default
-tag: NSPR_4_23_RTM
+node: 1209a835816dec6a52d11ea001e6f513c29d1642
+branch: NSPR_4_24_BRANCH
+tag: NSPR_4_24_RTM
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.23/nspr/configure new/nspr-4.24/nspr/configure
--- old/nspr-4.23/nspr/configure        2019-10-15 16:21:38.000000000 +0200
+++ new/nspr-4.24/nspr/configure        2019-12-02 18:58:37.000000000 +0100
@@ -2486,7 +2486,7 @@
   program_prefix=${target_alias}-
 
 MOD_MAJOR_VERSION=4
-MOD_MINOR_VERSION=23
+MOD_MINOR_VERSION=24
 MOD_PATCH_VERSION=0
 NSPR_MODNAME=nspr20
 _HAVE_PTHREADS=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.23/nspr/configure.in 
new/nspr-4.24/nspr/configure.in
--- old/nspr-4.23/nspr/configure.in     2019-10-15 16:21:38.000000000 +0200
+++ new/nspr-4.24/nspr/configure.in     2019-12-02 18:58:37.000000000 +0100
@@ -15,7 +15,7 @@
 dnl = Defaults
 dnl ========================================================
 MOD_MAJOR_VERSION=4
-MOD_MINOR_VERSION=23
+MOD_MINOR_VERSION=24
 MOD_PATCH_VERSION=0
 NSPR_MODNAME=nspr20
 _HAVE_PTHREADS=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.23/nspr/pr/include/md/_linux.cfg 
new/nspr-4.24/nspr/pr/include/md/_linux.cfg
--- old/nspr-4.23/nspr/pr/include/md/_linux.cfg 2019-10-15 16:21:38.000000000 
+0200
+++ new/nspr-4.24/nspr/pr/include/md/_linux.cfg 2019-12-02 18:58:37.000000000 
+0100
@@ -1157,6 +1157,56 @@
 #define PR_BYTES_PER_WORD_LOG2   2
 #define PR_BYTES_PER_DWORD_LOG2  3
 
+#elif defined(__nios2__) || defined(__microblaze__) || defined(__nds32__)
+
+#if defined(__microblaze__) && defined(__BIG_ENDIAN__)
+#define IS_BIG_ENDIAN 1
+#undef  IS_LITTLE_ENDIAN
+#else
+#define IS_LITTLE_ENDIAN 1
+#undef  IS_BIG_ENDIAN
+#endif
+
+#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   4
+#define PR_BYTES_PER_FLOAT  4
+#define PR_BYTES_PER_DOUBLE 8
+#define PR_BYTES_PER_WORD   4
+#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    32
+#define PR_BITS_PER_FLOAT   32
+#define PR_BITS_PER_DOUBLE  64
+#define PR_BITS_PER_WORD    32
+
+#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   5
+#define PR_BITS_PER_FLOAT_LOG2  5
+#define PR_BITS_PER_DOUBLE_LOG2 6
+#define PR_BITS_PER_WORD_LOG2   5
+
+#define PR_ALIGN_OF_SHORT   2
+#define PR_ALIGN_OF_INT     4
+#define PR_ALIGN_OF_LONG    4
+#define PR_ALIGN_OF_INT64   4
+#define PR_ALIGN_OF_FLOAT   4
+#define PR_ALIGN_OF_DOUBLE  4
+#define PR_ALIGN_OF_POINTER 4
+#define PR_ALIGN_OF_WORD    4
+
+#define PR_BYTES_PER_WORD_LOG2   2
+#define PR_BYTES_PER_DWORD_LOG2  3
+
 #else
 
 #error "Unknown CPU architecture"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.23/nspr/pr/include/md/_linux.h 
new/nspr-4.24/nspr/pr/include/md/_linux.h
--- old/nspr-4.23/nspr/pr/include/md/_linux.h   2019-10-15 16:21:38.000000000 
+0200
+++ new/nspr-4.24/nspr/pr/include/md/_linux.h   2019-12-02 18:58:37.000000000 
+0100
@@ -63,6 +63,12 @@
 #define _PR_SI_ARCHITECTURE "riscv64"
 #elif defined(__arc__)
 #define _PR_SI_ARCHITECTURE "arc"
+#elif defined(__nios2__)
+#define _PR_SI_ARCHITECTURE "nios2"
+#elif defined(__microblaze__)
+#define _PR_SI_ARCHITECTURE "microblaze"
+#elif defined(__nds32__)
+#define _PR_SI_ARCHITECTURE "nds32"
 #else
 #error "Unknown CPU architecture"
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.23/nspr/pr/include/prinit.h 
new/nspr-4.24/nspr/pr/include/prinit.h
--- old/nspr-4.23/nspr/pr/include/prinit.h      2019-10-15 16:21:38.000000000 
+0200
+++ new/nspr-4.24/nspr/pr/include/prinit.h      2019-12-02 18:58:37.000000000 
+0100
@@ -31,9 +31,9 @@
 ** The format of the version string is
 **     "<major version>.<minor version>[.<patch level>] [<Beta>]"
 */
-#define PR_VERSION  "4.23"
+#define PR_VERSION  "4.24"
 #define PR_VMAJOR   4
-#define PR_VMINOR   23
+#define PR_VMINOR   24
 #define PR_VPATCH   0
 #define PR_BETA     PR_FALSE
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.23/nspr/pr/include/prlog.h 
new/nspr-4.24/nspr/pr/include/prlog.h
--- old/nspr-4.23/nspr/pr/include/prlog.h       2019-10-15 16:21:38.000000000 
+0200
+++ new/nspr-4.24/nspr/pr/include/prlog.h       2019-12-02 18:58:37.000000000 
+0100
@@ -207,12 +207,16 @@
 #define PR_ASSERT(_expr) \
     ((_expr)?((void)0):PR_Assert(# _expr,__FILE__,__LINE__))
 
+#define PR_ASSERT_ARG(_expr) PR_ASSERT(_expr)
+
 #define PR_NOT_REACHED(_reasonStr) \
     PR_Assert(_reasonStr,__FILE__,__LINE__)
 
 #else
 
 #define PR_ASSERT(expr) ((void) 0)
+/* PR_ASSERT_ARG avoids compiler warning: unused variable */
+#define PR_ASSERT_ARG(expr) ((void)(0 && (expr)))
 #define PR_NOT_REACHED(reasonStr)
 
 #endif /* defined(DEBUG) || defined(FORCE_PR_ASSERT) */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.23/nspr/pr/tests/forktest.c 
new/nspr-4.24/nspr/pr/tests/forktest.c
--- old/nspr-4.23/nspr/pr/tests/forktest.c      2019-10-15 16:21:38.000000000 
+0200
+++ new/nspr-4.24/nspr/pr/tests/forktest.c      2019-12-02 18:58:37.000000000 
+0100
@@ -199,7 +199,6 @@
 int main(int argc, char **argv)
 {
     pid_t pid;
-    int rv;
 
     /* main test program */
 
@@ -216,7 +215,7 @@
 
         printf("Fork succeeded.  Parent process continues.\n");
         DoIO();
-        if ((rv = waitpid(pid, &childStatus, 0)) != pid) {
+        if (waitpid(pid, &childStatus, 0) != pid) {
             {
                 fprintf(stderr, "waitpid failed: %d\n", errno);
                 failed_already = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.23/nspr/pr/tests/multiwait.c 
new/nspr-4.24/nspr/pr/tests/multiwait.c
--- old/nspr-4.23/nspr/pr/tests/multiwait.c     2019-10-15 16:21:38.000000000 
+0200
+++ new/nspr-4.24/nspr/pr/tests/multiwait.c     2019-12-02 18:58:37.000000000 
+0100
@@ -706,8 +706,7 @@
 
 static Verbosity ChangeVerbosity(Verbosity verbosity, PRIntn delta)
 {
-    PRIntn verbage = (PRIntn)verbosity;
-    return (Verbosity)(verbage += delta);
+    return (Verbosity)(((PRIntn)verbosity) + delta);
 }  /* ChangeVerbosity */
 
 int main(int argc, char **argv)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.23/nspr/pr/tests/sel_spd.c 
new/nspr-4.24/nspr/pr/tests/sel_spd.c
--- old/nspr-4.23/nspr/pr/tests/sel_spd.c       2019-10-15 16:21:38.000000000 
+0200
+++ new/nspr-4.24/nspr/pr/tests/sel_spd.c       2019-12-02 18:58:37.000000000 
+0100
@@ -86,7 +86,6 @@
 _server_thread(void *arg_id)
 {
     void _client_thread(void *);
-    PRThread *thread;
     int *id =  (int *)arg_id;
     PRFileDesc *sock;
     PRSocketOptionData sockopt;
@@ -142,13 +141,13 @@
     }
 
     /* Tell the client to start */
-    if ( (thread = PR_CreateThread(PR_USER_THREAD,
-                                   _client_thread,
-                                   id,
-                                   PR_PRIORITY_NORMAL,
-                                   scope2,
-                                   PR_UNJOINABLE_THREAD,
-                                   0)) == NULL) {
+    if ( PR_CreateThread(PR_USER_THREAD,
+                         _client_thread,
+                         id,
+                         PR_PRIORITY_NORMAL,
+                         scope2,
+                         PR_UNJOINABLE_THREAD,
+                         0) == NULL) {
         fprintf(stderr, "Error creating client thread %d\n", *id);
     }
 
@@ -334,18 +333,17 @@
 
     _thread_exit_count = _threads * 2;
     for (index=0; index<_threads; index++) {
-        PRThread *thread;
         int *id = (int *)PR_Malloc(sizeof(int));
 
         *id = index;
 
-        if ( (thread = PR_CreateThread(PR_USER_THREAD,
-                                       _server_thread,
-                                       id,
-                                       PR_PRIORITY_NORMAL,
-                                       scope1,
-                                       PR_UNJOINABLE_THREAD,
-                                       0)) == NULL) {
+        if ( PR_CreateThread(PR_USER_THREAD,
+                             _server_thread,
+                             id,
+                             PR_PRIORITY_NORMAL,
+                             scope1,
+                             PR_UNJOINABLE_THREAD,
+                             0) == NULL) {
             fprintf(stderr, "Error creating server thread %d\n", index);
         }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.23/nspr/pr/tests/vercheck.c 
new/nspr-4.24/nspr/pr/tests/vercheck.c
--- old/nspr-4.23/nspr/pr/tests/vercheck.c      2019-10-15 16:21:38.000000000 
+0200
+++ new/nspr-4.24/nspr/pr/tests/vercheck.c      2019-12-02 18:58:37.000000000 
+0100
@@ -41,6 +41,7 @@
     "4.10.5", "4.10.6", "4.10.7", "4.10.8", "4.10.9",
     "4.10.10", "4.11", "4.12", "4.13", "4.14", "4.15",
     "4.16", "4.17", "4.18", "4.19", "4.20", "4.21", "4.22",
+    "4.23",
     PR_VERSION
 };
 
@@ -56,8 +57,8 @@
     "3.0", "3.0.1",
     "3.1", "3.1.1", "3.1.2", "3.1.3",
     "3.5", "3.5.1",
-    "4.23.1",
-    "4.24", "4.24.1",
+    "4.24.1",
+    "4.25", "4.25.1",
     "10.0", "11.1", "12.14.20"
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nspr-4.23/nspr/pr/tests/zerolen.c 
new/nspr-4.24/nspr/pr/tests/zerolen.c
--- old/nspr-4.23/nspr/pr/tests/zerolen.c       2019-10-15 16:21:38.000000000 
+0200
+++ new/nspr-4.24/nspr/pr/tests/zerolen.c       2019-12-02 18:58:37.000000000 
+0100
@@ -72,7 +72,7 @@
     /*
      * Then start reading.
      */
-    while ((nbytes = PR_Read(sock, buf, sizeof(buf))) > 0) {
+    while (nbytes = PR_Read(sock, buf, sizeof(buf)) > 0) {
         /* empty loop body */
     }
     if (-1 == nbytes) {
@@ -136,7 +136,7 @@
         exit(1);
     }
     osfd = PR_FileDesc2NativeHandle(acceptSock);
-    while ((nbytes = write(osfd, buf, sizeof(buf))) != -1) {
+    while (write(osfd, buf, sizeof(buf)) != -1) {
         /* empty loop body */
     }
     if ((errno != EAGAIN) && (errno != EWOULDBLOCK)) {
@@ -177,7 +177,7 @@
         exit(1);
     }
     osfd = PR_FileDesc2NativeHandle(acceptSock);
-    while ((nbytes = write(osfd, buf, sizeof(buf))) != -1) {
+    while (write(osfd, buf, sizeof(buf)) != -1) {
         /* empty loop body */
     }
     if ((errno != EAGAIN) && (errno != EWOULDBLOCK)) {
@@ -216,7 +216,7 @@
         exit(1);
     }
     osfd = PR_FileDesc2NativeHandle(acceptSock);
-    while ((nbytes = write(osfd, buf, sizeof(buf))) != -1) {
+    while (write(osfd, buf, sizeof(buf)) != -1) {
         /* empty loop body */
     }
     if ((errno != EAGAIN) && (errno != EWOULDBLOCK)) {


Reply via email to