pkgsrc/mail/cone/patches/patch-libmail-maildir.C

16 lines
404 B
C
Raw Normal View History

$NetBSD: patch-libmail-maildir.C,v 1.2 2012/06/09 11:51:36 adam Exp $
2011-11-22 19:12:35 +01:00
Use stdio functions to ensure that the mail::file cast to FILE * happens.
--- libmail/maildir.C.orig 2011-11-22 16:26:47.000000000 +0000
+++ libmail/maildir.C
@@ -30,6 +30,8 @@
2011-11-22 19:12:35 +01:00
#include <list>
#include <map>
+#undef ferror
+
using namespace std;
/////////////////////////////////////////////////////////////////////////////