diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-22 18:12:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-22 18:12:35 +0000 |
commit | 9bd1bb8e67f477fbd34b4820f8ea9d54a7058d01 (patch) | |
tree | b0429a53076bccc11994341b47276231f70d6cdf /mail/cone/patches/patch-libmail-tmpaccount.C | |
parent | 6de67c8841f1c252d43a756308a57a98299a32b4 (diff) | |
download | pkgsrc-9bd1bb8e67f477fbd34b4820f8ea9d54a7058d01.tar.gz |
Fix build with newer GCC
Diffstat (limited to 'mail/cone/patches/patch-libmail-tmpaccount.C')
-rw-r--r-- | mail/cone/patches/patch-libmail-tmpaccount.C | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/cone/patches/patch-libmail-tmpaccount.C b/mail/cone/patches/patch-libmail-tmpaccount.C new file mode 100644 index 00000000000..063ac51cd26 --- /dev/null +++ b/mail/cone/patches/patch-libmail-tmpaccount.C @@ -0,0 +1,15 @@ +$NetBSD: patch-libmail-tmpaccount.C,v 1.1 2011/11/22 18:12:35 joerg Exp $ + +Use stdio functions to ensure that the mail::file cast to FILE * happens. + +--- libmail/tmpaccount.C.orig 2011-11-22 16:37:21.000000000 +0000 ++++ libmail/tmpaccount.C +@@ -14,6 +14,8 @@ + #include <errno.h> + #include <sys/stat.h> + ++#undef ferror ++ + using namespace std; + + LIBMAIL_START |