Accepting request 421041 from mozilla:Factory
- fix build on certain toolchains (nss-uninitialized.patch) jarfile.c:805:13: error: 'it' may be used uninitialized in this function [-Werror=maybe-uninitialized] OBS-URL: https://build.opensuse.org/request/show/421041 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mozilla-nss?expand=0&rev=117
This commit is contained in:
commit
0df0d19b00
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 22 12:54:15 UTC 2016 - wr@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]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 4 20:28:32 UTC 2016 - wr@rosenauer.org
|
||||
|
||||
|
@ -51,6 +51,7 @@ Source9: pkcs11.txt
|
||||
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 @@ Mozilla project.
|
||||
cd nss
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%if %suse_version > 1110
|
||||
|
22
nss-uninitialized.patch
Normal file
22
nss-uninitialized.patch
Normal file
@ -0,0 +1,22 @@
|
||||
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;
|
Loading…
Reference in New Issue
Block a user