summaryrefslogtreecommitdiff
path: root/mail
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
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')
-rw-r--r--mail/wmbiff/Makefile6
-rw-r--r--mail/wmbiff/distinfo3
-rw-r--r--mail/wmbiff/patches/patch-wmbiff_gnutls-common.c31
3 files changed, 37 insertions, 3 deletions
diff --git a/mail/wmbiff/Makefile b/mail/wmbiff/Makefile
index f35edfeb793..e5936be4e01 100644
--- a/mail/wmbiff/Makefile
+++ b/mail/wmbiff/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.44 2012/02/06 12:40:51 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2012/07/03 10:16:20 tron Exp $
DISTNAME= wmbiff-0.4.26
-PKGREVISION= 14
+PKGREVISION= 15
CATEGORIES= mail x11 windowmaker
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wmbiff/}
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/wmbiff/
COMMENT= xbuffy like "mail-checker" for WindowMaker
+BROKEN= wmbiff doesn't build with GnuTLS 3.0.
+
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
diff --git a/mail/wmbiff/distinfo b/mail/wmbiff/distinfo
index 7c2c0454365..44dbb77be4c 100644
--- a/mail/wmbiff/distinfo
+++ b/mail/wmbiff/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2005/09/06 15:49:35 adam Exp $
+$NetBSD: distinfo,v 1.14 2012/07/03 10:16:20 tron Exp $
SHA1 (wmbiff-0.4.26.tar.gz) = cb2fc49bc741209c22d8a50f0f164e34c4a9332d
RMD160 (wmbiff-0.4.26.tar.gz) = f5ccb17fb6846283cb7cde7996310a65600a8883
@@ -6,3 +6,4 @@ Size (wmbiff-0.4.26.tar.gz) = 200237 bytes
SHA1 (patch-aa) = 0a4607f2e5d6d3066d9b9994665b659dfbcc003b
SHA1 (patch-ab) = d84f1c4333d7c192748f5170460563ae7fe0955d
SHA1 (patch-ac) = d7abfc902dffdfa646957d1bc0157e1ee59dfb86
+SHA1 (patch-wmbiff_gnutls-common.c) = fd9f29a6ead51d4479c6d4fedbcbc905f94b9b54
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;
+ }