summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-12-21 13:38:16 +0000
committerjoerg <joerg@pkgsrc.org>2016-12-21 13:38:16 +0000
commit64dc3f737341ddce728bae1f8a582f4f9b27e07e (patch)
tree0dd7ac134cfcc6a309f0aeef6339542ae01a8c99
parent683d5a8406e0df3195bcad66217e5c3d18cb41c3 (diff)
downloadpkgsrc-64dc3f737341ddce728bae1f8a582f4f9b27e07e.tar.gz
"false" is spelled 0 when returning integers.
-rw-r--r--security/boringssl/distinfo3
-rw-r--r--security/boringssl/patches/patch-crypto_aes_aes__test.cc15
2 files changed, 17 insertions, 1 deletions
diff --git a/security/boringssl/distinfo b/security/boringssl/distinfo
index ef5f3459b6b..99f2e8fd5e9 100644
--- a/security/boringssl/distinfo
+++ b/security/boringssl/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2015/12/31 02:57:35 agc Exp $
+$NetBSD: distinfo,v 1.2 2016/12/21 13:38:16 joerg Exp $
SHA1 (boringssl-20151230.tar.gz) = eb3681358044990bc54c9ab58a3ce8d951edd022
RMD160 (boringssl-20151230.tar.gz) = cf2b15e5dc261efcba44cb493947e9c48d346c36
@@ -9,4 +9,5 @@ SHA1 (patch-crypto__bio__internal.h) = ca998dc82f208fcc46144c932154c456474a9e88
SHA1 (patch-crypto__bio__socket_helper.c) = 6ac17f5899817522d3ba883a88d87b5d8541213e
SHA1 (patch-crypto__lhash__lhash_test.c) = 9f411a45fcb8d861911f8ef69651f591a70211b2
SHA1 (patch-crypto__mem.c) = 186c7f7af8b28defc80266a351456328df0976cc
+SHA1 (patch-crypto_aes_aes__test.cc) = d5c442101a42ca46456cb42b6e4cea053f7a98cb
SHA1 (patch-include__openssl__thread.h) = 0faf11db8591026c10ae3271936b1ef6381d977a
diff --git a/security/boringssl/patches/patch-crypto_aes_aes__test.cc b/security/boringssl/patches/patch-crypto_aes_aes__test.cc
new file mode 100644
index 00000000000..a6687ce64c6
--- /dev/null
+++ b/security/boringssl/patches/patch-crypto_aes_aes__test.cc
@@ -0,0 +1,15 @@
+$NetBSD: patch-crypto_aes_aes__test.cc,v 1.1 2016/12/21 13:38:16 joerg Exp $
+
+main() does not return bool.
+
+--- crypto/aes/aes_test.cc.orig 2016-12-21 00:28:18.783846441 +0000
++++ crypto/aes/aes_test.cc
+@@ -94,7 +94,7 @@ int main() {
+ "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
+ (const uint8_t *)"\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
+ "\xea\xfc\x49\x90\x4b\x49\x60\x89")) {
+- return false;
++ return 0;
+ }
+
+ printf("PASS\n");