From 185fca45c5ff85f22f03ccd5296b6fe8894b3e0e Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 5 Dec 2011 22:49:46 +0000 Subject: Fix build with modern GCC --- mail/xfmail/distinfo | 4 ++-- mail/xfmail/patches/patch-ab | 17 +++++++++++++---- 2 files changed, 15 insertions(+), 6 deletions(-) (limited to 'mail') diff --git a/mail/xfmail/distinfo b/mail/xfmail/distinfo index b07b8956ede..3715cf30e97 100644 --- a/mail/xfmail/distinfo +++ b/mail/xfmail/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.10 2006/10/23 07:47:15 rillig Exp $ +$NetBSD: distinfo,v 1.11 2011/12/05 22:49:46 joerg Exp $ SHA1 (xfmail-1.5.5.tar.bz2) = 7a98486d1f8cce956efaf37d9540369d5f327401 RMD160 (xfmail-1.5.5.tar.bz2) = bf3e866d6fa37b7b9959c532b1f4b82fb57eb307 Size (xfmail-1.5.5.tar.bz2) = 1185913 bytes SHA1 (patch-aa) = 678f14ddf5a9360d82fc09cbc296620fe8c66125 -SHA1 (patch-ab) = 17de1abd320f38e38a72194531d358061cbd2eb4 +SHA1 (patch-ab) = ca52f1038f190a310d7d3d5f1dece187a2958ce8 SHA1 (patch-ac) = f04aad8c7d44183cf16743c31c1779b42da500a1 SHA1 (patch-ad) = 91d92fb76b5ecf9c07295b942a34628ce212ae3d SHA1 (patch-ae) = 8d1d16f62511b78fc20c47e78eebc83dd8feac8d diff --git a/mail/xfmail/patches/patch-ab b/mail/xfmail/patches/patch-ab index 719c381fc86..2ccfa679bb6 100644 --- a/mail/xfmail/patches/patch-ab +++ b/mail/xfmail/patches/patch-ab @@ -1,8 +1,17 @@ -$NetBSD: patch-ab,v 1.5 2005/03/16 16:17:42 rillig Exp $ +$NetBSD: patch-ab,v 1.6 2011/12/05 22:49:47 joerg Exp $ ---- src/mail/addrbookdb.cpp.orig Fri Jan 2 04:54:01 2004 -+++ src/mail/addrbookdb.cpp Wed Mar 16 14:13:41 2005 -@@ -174,7 +174,11 @@ AddressBookDB::Load(const char *configdi +--- src/mail/addrbookdb.cpp.orig 2004-01-02 03:54:01.000000000 +0000 ++++ src/mail/addrbookdb.cpp +@@ -33,6 +33,8 @@ using namespace std; + #include + #include + #include ++#include ++#include + + #include "config.h" + #if HAVE_DIRENT_H +@@ -174,7 +176,11 @@ AddressBookDB::Load(const char *configdi dir = opendir(configdir); if (dir == NULL) return false; -- cgit v1.2.3