summaryrefslogtreecommitdiff
path: root/mail/xfmail/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2011-12-05 22:49:46 +0000
committerjoerg <joerg>2011-12-05 22:49:46 +0000
commit185fca45c5ff85f22f03ccd5296b6fe8894b3e0e (patch)
tree7c545e580d0fbb212d424970eed95e760dff561d /mail/xfmail/patches
parent5c302b39cb4a324ffbb171ea1849762a925e3fbe (diff)
downloadpkgsrc-185fca45c5ff85f22f03ccd5296b6fe8894b3e0e.tar.gz
Fix build with modern GCC
Diffstat (limited to 'mail/xfmail/patches')
-rw-r--r--mail/xfmail/patches/patch-ab17
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;