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.diff -r1.44 -r1.45 pkgsrc/mail/wmbiff/Makefile
(tron)
@@ -1,24 +1,26 @@ | @@ -1,24 +1,26 @@ | |||
1 | # $NetBSD: Makefile,v 1.44 2012/02/06 12:40:51 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.45 2012/07/03 10:16:20 tron Exp $ | |
2 | 2 | |||
3 | DISTNAME= wmbiff-0.4.26 | 3 | DISTNAME= wmbiff-0.4.26 | |
4 | PKGREVISION= 14 | 4 | PKGREVISION= 15 | |
5 | CATEGORIES= mail x11 windowmaker | 5 | CATEGORIES= mail x11 windowmaker | |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wmbiff/} | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wmbiff/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://sourceforge.net/projects/wmbiff/ | 9 | HOMEPAGE= http://sourceforge.net/projects/wmbiff/ | |
10 | COMMENT= xbuffy like "mail-checker" for WindowMaker | 10 | COMMENT= xbuffy like "mail-checker" for WindowMaker | |
11 | 11 | |||
12 | BROKEN= wmbiff doesn't build with GnuTLS 3.0. | |||
13 | ||||
12 | PKG_DESTDIR_SUPPORT= user-destdir | 14 | PKG_DESTDIR_SUPPORT= user-destdir | |
13 | 15 | |||
14 | USE_TOOLS+= gmake | 16 | USE_TOOLS+= gmake | |
15 | GNU_CONFIGURE= yes | 17 | GNU_CONFIGURE= yes | |
16 | 18 | |||
17 | EX_DIR= ${PREFIX}/share/examples/wmbiff | 19 | EX_DIR= ${PREFIX}/share/examples/wmbiff | |
18 | INSTALLATION_DIRS+= ${EX_DIR} | 20 | INSTALLATION_DIRS+= ${EX_DIR} | |
19 | 21 | |||
20 | post-install: | 22 | post-install: | |
21 | ${INSTALL_DATA} ${WRKSRC}/wmbiff/sample.wmbiffrc ${DESTDIR}${EX_DIR} | 23 | ${INSTALL_DATA} ${WRKSRC}/wmbiff/sample.wmbiffrc ${DESTDIR}${EX_DIR} | |
22 | 24 | |||
23 | .include "../../security/gnutls/buildlink3.mk" | 25 | .include "../../security/gnutls/buildlink3.mk" | |
24 | .include "../../security/gnutls/libgnutls-config.mk" | 26 | .include "../../security/gnutls/libgnutls-config.mk" |
@@ -1,8 +1,9 @@ | @@ -1,8 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.13 2005/09/06 15:49:35 adam Exp $ | 1 | $NetBSD: distinfo,v 1.14 2012/07/03 10:16:20 tron Exp $ | |
2 | 2 | |||
3 | SHA1 (wmbiff-0.4.26.tar.gz) = cb2fc49bc741209c22d8a50f0f164e34c4a9332d | 3 | SHA1 (wmbiff-0.4.26.tar.gz) = cb2fc49bc741209c22d8a50f0f164e34c4a9332d | |
4 | RMD160 (wmbiff-0.4.26.tar.gz) = f5ccb17fb6846283cb7cde7996310a65600a8883 | 4 | RMD160 (wmbiff-0.4.26.tar.gz) = f5ccb17fb6846283cb7cde7996310a65600a8883 | |
5 | Size (wmbiff-0.4.26.tar.gz) = 200237 bytes | 5 | Size (wmbiff-0.4.26.tar.gz) = 200237 bytes | |
6 | SHA1 (patch-aa) = 0a4607f2e5d6d3066d9b9994665b659dfbcc003b | 6 | SHA1 (patch-aa) = 0a4607f2e5d6d3066d9b9994665b659dfbcc003b | |
7 | SHA1 (patch-ab) = d84f1c4333d7c192748f5170460563ae7fe0955d | 7 | SHA1 (patch-ab) = d84f1c4333d7c192748f5170460563ae7fe0955d | |
8 | SHA1 (patch-ac) = d7abfc902dffdfa646957d1bc0157e1ee59dfb86 | 8 | SHA1 (patch-ac) = d7abfc902dffdfa646957d1bc0157e1ee59dfb86 | |
9 | SHA1 (patch-wmbiff_gnutls-common.c) = fd9f29a6ead51d4479c6d4fedbcbc905f94b9b54 |
$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;
}