Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
$NetBSD: patch-encrypt.cpp,v 1.1 2012/07/18 10:22:23 marino Exp $
GnuTLS deprecated gnutls_transport_set_lowat in version 2.12.0 and removed it by version 3
The lowat feature is always disabled now.
--- src/encrypt.cpp.orig 2009-08-24 12:18:29.000000000 +0000
+++ src/encrypt.cpp
@@ -202,7 +202,9 @@ net6::tcp_encrypted_socket_base::
);
#endif
+#if GNUTLS_VERSION_NUMBER < 0x020c00
gnutls_transport_set_lowat(session, 0);
+#endif
}
net6::tcp_encrypted_socket_base::~tcp_encrypted_socket_base()