Hello community,

here is the log from the commit of package mozilla-nss for openSUSE:Factory 
checked in at 2016-08-26 23:13:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mozilla-nss (Old)
 and      /work/SRC/openSUSE:Factory/.mozilla-nss.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mozilla-nss"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mozilla-nss/mozilla-nss.changes  2016-08-12 
15:33:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mozilla-nss.new/mozilla-nss.changes     
2016-08-26 23:13:23.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Aug 22 12:54:15 UTC 2016 - w...@rosenauer.org
+
+- fix build on certain toolchains (nss-uninitialized.patch)
+  jarfile.c:805:13: error: 'it' may be used uninitialized in this
+  function [-Werror=maybe-uninitialized]
+
+-------------------------------------------------------------------

New:
----
  nss-uninitialized.patch

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

Other differences:
------------------
++++++ mozilla-nss.spec ++++++
--- /var/tmp/diff_new_pack.7PaqfJ/_old  2016-08-26 23:13:24.000000000 +0200
+++ /var/tmp/diff_new_pack.7PaqfJ/_new  2016-08-26 23:13:24.000000000 +0200
@@ -51,6 +51,7 @@
 Source99:       %{name}.changes
 Patch1:         nss-opt.patch
 Patch2:         system-nspr.patch
+Patch3:         nss-uninitialized.patch
 Patch4:         nss-no-rpath.patch
 Patch5:         renegotiate-transitional.patch
 Patch6:         malloc.patch
@@ -169,6 +170,7 @@
 cd nss
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 %patch4 -p1
 %patch5 -p1
 %if %suse_version > 1110



++++++ nss-uninitialized.patch ++++++
diff --git a/lib/jar/jarfile.c b/lib/jar/jarfile.c
--- a/lib/jar/jarfile.c
+++ b/lib/jar/jarfile.c
@@ -652,17 +652,17 @@ jar_gen_index(JAR *jar, jarArch format, 
  *  List the physical contents of a Phil Katz
  *  style .ZIP file into the JAR linked list.
  *
  */
 static int
 jar_listzip(JAR *jar, JAR_FILE fp)
 {
     ZZLink *ent;
-    JAR_Item *it;
+    JAR_Item *it = NULL;
     JAR_Physical *phy = NULL;
     struct ZipLocal *Local = PORT_ZNew(struct ZipLocal);
     struct ZipCentral *Central = PORT_ZNew(struct ZipCentral);
     struct ZipEnd *End = PORT_ZNew(struct ZipEnd);
 
     int err = 0;
     long pos = 0L;
     unsigned int compression;

Reply via email to