aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-16 14:40:48 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-16 14:40:48 +0000
commit2c59567df6538c16df86f0318d54ca8088d20180 (patch)
tree07b3843c1d46c41104bc8788ad626a12ff88ca05 /main
parentdef0de5711815ddff89e802e111e6490655f32c8 (diff)
downloadaports-2c59567df6538c16df86f0318d54ca8088d20180.tar.bz2
aports-2c59567df6538c16df86f0318d54ca8088d20180.tar.xz
main/nss: add missing patch
Diffstat (limited to 'main')
-rw-r--r--main/nss/gcc6-fixes.patch35
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;