pkgsrc/mail/cone/patches/patch-libmail-tmpaccount.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

15 lines
359 B
C

$NetBSD: patch-libmail-tmpaccount.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/tmpaccount.C.orig 2011-04-04 11:58:20.000000000 +0000
+++ libmail/tmpaccount.C
@@ -12,6 +12,8 @@
#include <sys/stat.h>
#include <cstring>
+#undef ferror
+
using namespace std;
LIBMAIL_START