pkgsrc/games/libggz/patches/patch-aa
drochner 6d7f2c37ad fix build with gnutls-3, bump PKGREV
fixes PR pkg/46656 by David Shao
2012-07-05 10:33:06 +00:00

15 lines
748 B
Text

$NetBSD: patch-aa,v 1.1 2012/07/05 10:33:06 drochner Exp $
fix build with gnutls-3
--- src/security/ggz_tls_gnutls.c.orig 2008-01-05 19:03:41.000000000 +0000
+++ src/security/ggz_tls_gnutls.c
@@ -56,7 +56,7 @@ const int cipher_priority[] = {GNUTLS_CI
const int mac_priority[] = {GNUTLS_MAC_NULL, GNUTLS_MAC_MD5, GNUTLS_MAC_SHA, 0};
const int kx_priority[] = {GNUTLS_KX_ANON_DH, GNUTLS_KX_DHE_DSS, GNUTLS_KX_DHE_RSA, 0};
const int protocol_priority[] = {GNUTLS_TLS1, GNUTLS_SSL3, 0};
-const int compression_priority[] = {GNUTLS_COMP_NULL, GNUTLS_COMP_ZLIB, GNUTLS_COMP_LZO, 0};
+const int compression_priority[] = {GNUTLS_COMP_NULL, GNUTLS_COMP_ZLIB, 0};
void ggz_tls_init(const char *certfile, const char *keyfile, const char *password)
{