summaryrefslogtreecommitdiff
path: root/mail/wmbiff/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2012-07-03 10:16:20 +0000
committertron <tron@pkgsrc.org>2012-07-03 10:16:20 +0000
commit0e110eeaca34c654799be937d6a32f763f9fef25 (patch)
tree0668f51335055a861aa0bd994afd2704da727f41 /mail/wmbiff/patches
parent5b44a2392ebd7d9932c5aa2033a98cfe72efaab7 (diff)
downloadpkgsrc-0e110eeaca34c654799be937d6a32f763f9fef25.tar.gz
This package got broken by the upgrade of the "gnutls" package to
version 3.0.20. Add a patch which fixes one of the problem and mark is as broken until somebody has the time to fix it.
Diffstat (limited to 'mail/wmbiff/patches')
-rw-r--r--mail/wmbiff/patches/patch-wmbiff_gnutls-common.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/mail/wmbiff/patches/patch-wmbiff_gnutls-common.c b/mail/wmbiff/patches/patch-wmbiff_gnutls-common.c
new file mode 100644
index 00000000000..ae6e5541138
--- /dev/null
+++ b/mail/wmbiff/patches/patch-wmbiff_gnutls-common.c
@@ -0,0 +1,31 @@
+$NetBSD: patch-wmbiff_gnutls-common.c,v 1.1 2012/07/03 10:16:20 tron Exp $
+
+Fix build with GnuTLS 3.0.
+
+--- wmbiff/gnutls-common.c.orig 2004-06-23 03:52:42.000000000 +0100
++++ wmbiff/gnutls-common.c 2012-07-03 10:56:31.000000000 +0100
+@@ -3,7 +3,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <gnutls/gnutls.h>
+-#include <gnutls/extra.h>
+ #include <gnutls/x509.h>
+ #include <gnutls/openpgp.h>
+ #include <time.h>
+@@ -508,7 +507,6 @@
+
+ printf("Compression methods:");
+ printf(" ZLIB");
+- printf(", LZO");
+ printf(", NULL\n");
+ }
+
+@@ -636,8 +634,6 @@
+ comp_priority[j++] = GNUTLS_COMP_NULL;
+ if (strncasecmp(comp[i], "ZLI", 3) == 0)
+ comp_priority[j++] = GNUTLS_COMP_ZLIB;
+- if (strncasecmp(comp[i], "LZO", 3) == 0)
+- comp_priority[j++] = GNUTLS_COMP_LZO;
+ }
+ comp_priority[j] = 0;
+ }