diff options
author | joerg <joerg@pkgsrc.org> | 2011-12-05 22:49:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-12-05 22:49:46 +0000 |
commit | 5ea484e8188ebc6f40e9ec1e38618d0672530bca (patch) | |
tree | 7c545e580d0fbb212d424970eed95e760dff561d /mail/xfmail/patches | |
parent | ff0e58c5d568539b2a1d09af1b1f972dd4fc6750 (diff) | |
download | pkgsrc-5ea484e8188ebc6f40e9ec1e38618d0672530bca.tar.gz |
Fix build with modern GCC
Diffstat (limited to 'mail/xfmail/patches')
-rw-r--r-- | mail/xfmail/patches/patch-ab | 17 |
1 files changed, 13 insertions, 4 deletions
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 <stdio.h> + #include <unistd.h> + #include <sys/types.h> ++#include <limits.h> ++#include <string.h> + + #include "config.h" + #if HAVE_DIRENT_H +@@ -174,7 +176,11 @@ AddressBookDB::Load(const char *configdi dir = opendir(configdir); if (dir == NULL) return false; |