pkgsrc/mail/cone/patches/patch-libmail-mbox.C
adam 3356e8f9eb Changes 0.90:
* cone/gettext.C: gettext can't deal with literal ^Ds, so provide a
  workaround: "\\D" literal.
* cone/cursesindexdisplay.C (drawLine): Misformatting of the date
  column in some locales.
2012-06-09 11:51:36 +00:00

17 lines
430 B
C

$NetBSD: patch-libmail-mbox.C,v 1.2 2012/06/09 11:51:36 adam Exp $
Use stdio functions to ensure that the mail::file cast to FILE * happens.
--- libmail/mbox.C.orig 2011-11-22 16:27:37.000000000 +0000
+++ libmail/mbox.C
@@ -31,6 +31,10 @@
#include <signal.h>
#include <ctype.h>
+#undef feof
+#undef ferror
+#undef getc
+
using namespace std;
/////////////////////////////////////////////////////////////////////////////