pkgsrc/net/libquic/patches/patch-crypto__bio__bio_test.cc
agc 4ecc1f7ac4 Add libquic-0.0.3 to the packages collection.
QUIC is an experimental protocol aimed at reducing web latency over
	that of TCP.  On the surface, QUIC is very similar to TCP+TLS+SPDY
	implemented on UDP.  Because TCP is implement in operating system
	kernels, and middlebox firmware, making significant changes to TCP is
	next to impossible.  However, since QUIC is built on top of UDP, it
	suffers from no such limitations.

	Key features of QUIC over existing TCP+TLS+SPDY include

	+ Dramatically reduced connection establishment time
	+ Improved congestion control
	+ Multiplexing without head of line blocking
	+ Forward error correction
	+ Connection migration
2016-07-01 20:32:35 +00:00

16 lines
479 B
C++

$NetBSD: patch-crypto__bio__bio_test.cc,v 1.1 2016/07/01 20:32:35 agc Exp $
NetBSD portability patches
--- boringssl/crypto/bio/bio_test.cc.orig 2015-12-30 15:55:50.000000000 -0800
+++ boringssl/crypto/bio/bio_test.cc 2015-12-30 18:06:05.000000000 -0800
@@ -13,7 +13,9 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
#if !defined(_POSIX_C_SOURCE)
+# if !defined(__NetBSD__)
#define _POSIX_C_SOURCE 201410L
+# endif
#endif
#include <openssl/base.h>