diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/nss/gcc6-fixes.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/main/nss/gcc6-fixes.patch b/main/nss/gcc6-fixes.patch new file mode 100644 index 0000000000..447cc00ac2 --- /dev/null +++ b/main/nss/gcc6-fixes.patch @@ -0,0 +1,35 @@ +--- ./nss/cmd/bltest/blapitest.c.orig ++++ ./nss/cmd/bltest/blapitest.c +@@ -1636,8 +1636,7 @@ + cipherInfo->cipher.symmkeyCipher = seed_Encrypt; + else + cipherInfo->cipher.symmkeyCipher = seed_Decrypt; +- +- return SECSuccess; ++ return SECSuccess; + } + + SECStatus +--- ./nss/lib/dbm/src/h_page.c.orig ++++ ./nss/lib/dbm/src/h_page.c +@@ -116,7 +116,7 @@ + + if (origin == SEEK_CUR) { + if (offset < 1) +- return (lseek(fd, offset, SEEK_CUR)); ++ return (lseek(fd, offset, SEEK_CUR)); + + cur_pos = lseek(fd, 0, SEEK_CUR); + +--- ./nss/cmd/vfychain/vfychain.c.orig ++++ ./nss/cmd/vfychain/vfychain.c +@@ -439,7 +439,8 @@ + case 0 : /* positional parameter */ goto breakout; + case 'a' : isAscii = PR_TRUE; break; + case 'b' : secStatus = DER_AsciiToTime(&time, optstate->value); +- if (secStatus != SECSuccess) Usage(progName); break; ++ if (secStatus != SECSuccess) Usage(progName); ++ break; + case 'd' : certDir = PL_strdup(optstate->value); break; + case 'e' : ocsp_fetchingFailureIsAFailure = PR_FALSE; break; + case 'f' : certFetching = PR_TRUE; break; |