summaryrefslogtreecommitdiff
path: root/mail/xfmail/patches
diff options
context:
space:
mode:
authortron <tron>2001-10-12 19:49:25 +0000
committertron <tron>2001-10-12 19:49:25 +0000
commit77dc1d2db1b292746b17e339cb967e0392490266 (patch)
tree77b3722f50dade26df85ba52dc0f481d87e1b090 /mail/xfmail/patches
parent0760f8f1a106dc4cdf1bbe9b0f8db98a4ad5d6b8 (diff)
downloadpkgsrc-77dc1d2db1b292746b17e339cb967e0392490266.tar.gz
Fix build problem if new toolchain is used.
Diffstat (limited to 'mail/xfmail/patches')
-rw-r--r--mail/xfmail/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/xfmail/patches/patch-af b/mail/xfmail/patches/patch-af
new file mode 100644
index 00000000000..88e00948f15
--- /dev/null
+++ b/mail/xfmail/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2001/10/12 19:49:26 tron Exp $
+
+--- mail/cache.c.orig Tue Jan 18 02:38:20 2000
++++ mail/cache.c Fri Oct 12 21:47:10 2001
+@@ -463,7 +463,7 @@
+ if(dbm_error(db) || (msgdata.dptr == NULL) || (msgdata.dsize == 0))
+ return NULL;
+
+- msgbuf = msgdata.dptr;
++ msgbuf = (char *)msgdata.dptr;
+ msgbuflen = 0;
+
+ memcpy(&i, msgbuf + msgbuflen, sizeof(i));