summaryrefslogtreecommitdiff
path: root/chat/loudmouth/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-02-23 16:07:34 +0000
committerwiz <wiz@pkgsrc.org>2005-02-23 16:07:34 +0000
commitdb05918574e8ac82e6cf17c52ccff26ba2d3cb9d (patch)
treec16b73a629c9660b4bd2afb8dbe3d639faaa210e /chat/loudmouth/patches
parent645a2eab08e26d1ba0884ff0ff5c1fe4ce59a6ea (diff)
downloadpkgsrc-db05918574e8ac82e6cf17c52ccff26ba2d3cb9d.tar.gz
Fix build with gnutls-1.2.0, and depend on it.
Bump PKGREVISION because of dependency change.
Diffstat (limited to 'chat/loudmouth/patches')
-rw-r--r--chat/loudmouth/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/chat/loudmouth/patches/patch-aa b/chat/loudmouth/patches/patch-aa
new file mode 100644
index 00000000000..98e51e6f345
--- /dev/null
+++ b/chat/loudmouth/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2005/02/23 16:07:34 wiz Exp $
+
+--- loudmouth/lm-ssl.c.orig 2004-10-19 09:52:48.000000000 +0200
++++ loudmouth/lm-ssl.c
+@@ -71,7 +71,6 @@ ssl_verify_certificate (LmSSL *ssl, cons
+ }
+
+ if (status & GNUTLS_CERT_INVALID
+- || status & GNUTLS_CERT_NOT_TRUSTED
+ || status & GNUTLS_CERT_REVOKED) {
+ if (ssl->func (ssl, LM_SSL_STATUS_UNTRUSTED_CERT,
+ ssl->func_data) != LM_SSL_RESPONSE_CONTINUE) {
+@@ -126,7 +125,7 @@ ssl_verify_certificate (LmSSL *ssl, cons
+
+ gnutls_x509_crt_deinit (cert);
+
+- if (gnutls_x509_fingerprint (GNUTLS_DIG_MD5, &cert_list[0],
++ if (gnutls_fingerprint (GNUTLS_DIG_MD5, &cert_list[0],
+ ssl->fingerprint,
+ &digest_size) >= 0) {
+ if (ssl->expected_fingerprint &&