summaryrefslogtreecommitdiff
path: root/mail/cone
diff options
context:
space:
mode:
authorjoerg <joerg>2011-11-22 18:12:35 +0000
committerjoerg <joerg>2011-11-22 18:12:35 +0000
commit5032bc4af5e269d96546bc6e8c22b9e7b13ea253 (patch)
treeb0429a53076bccc11994341b47276231f70d6cdf /mail/cone
parentca65ce52fb46dd16fc7c10a69e3deab896e7732d (diff)
downloadpkgsrc-5032bc4af5e269d96546bc6e8c22b9e7b13ea253.tar.gz
Fix build with newer GCC
Diffstat (limited to 'mail/cone')
-rw-r--r--mail/cone/distinfo9
-rw-r--r--mail/cone/patches/patch-libmail-maildir.C15
-rw-r--r--mail/cone/patches/patch-libmail-mbox.C17
-rw-r--r--mail/cone/patches/patch-libmail-mboxadd.C17
-rw-r--r--mail/cone/patches/patch-libmail-mboxfolder.C15
-rw-r--r--mail/cone/patches/patch-libmail-mboxgetmessage.C15
-rw-r--r--mail/cone/patches/patch-libmail-mboxread.C15
-rw-r--r--mail/cone/patches/patch-libmail-tmpaccount.C15
8 files changed, 117 insertions, 1 deletions
diff --git a/mail/cone/distinfo b/mail/cone/distinfo
index 62a562e5fbc..cd7ea5692e5 100644
--- a/mail/cone/distinfo
+++ b/mail/cone/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2010/11/05 14:18:52 adam Exp $
+$NetBSD: distinfo,v 1.5 2011/11/22 18:12:35 joerg Exp $
SHA1 (cone-0.84.tar.bz2) = 507962bd666c4435e66f7653670c9aee360fd771
RMD160 (cone-0.84.tar.bz2) = 88a76c71807269daa7094206a39ce566726c0b23
@@ -9,3 +9,10 @@ SHA1 (patch-ac) = 2a6a8ad9c8cc6773b219bfbefabc11eac31f6cb3
SHA1 (patch-ad) = 578dde2e725ca4e1b332ad2e9135446534aa3184
SHA1 (patch-ae) = f11842f29aadd91aaab74dff8583d6b62c06673d
SHA1 (patch-af) = e78186b709c4eae63b5b05e5bf57dcc6a2967613
+SHA1 (patch-libmail-maildir.C) = 82962f71d9cfc4e6e124504bf2bbacde8487baf4
+SHA1 (patch-libmail-mbox.C) = 964e0901341d2ebdd1ac1fef2349d0565f5df188
+SHA1 (patch-libmail-mboxadd.C) = 614c95af75eba90c29868dc78f220df0fe9cdc77
+SHA1 (patch-libmail-mboxfolder.C) = 1ad0bc2ecfde93b941204501afa241f56e572dd0
+SHA1 (patch-libmail-mboxgetmessage.C) = fde73c28f91efbd9ca86e17f0980edd3d7994178
+SHA1 (patch-libmail-mboxread.C) = dea06e218ccbf683102d4c05a8ec8a4c64d96f4b
+SHA1 (patch-libmail-tmpaccount.C) = 5333f86f4ee37fb1b146048d37d70c7647b127ba
diff --git a/mail/cone/patches/patch-libmail-maildir.C b/mail/cone/patches/patch-libmail-maildir.C
new file mode 100644
index 00000000000..11d8bc0de55
--- /dev/null
+++ b/mail/cone/patches/patch-libmail-maildir.C
@@ -0,0 +1,15 @@
+$NetBSD: patch-libmail-maildir.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/maildir.C.orig 2011-11-22 16:26:47.000000000 +0000
++++ libmail/maildir.C
+@@ -31,6 +31,8 @@
+ #include <list>
+ #include <map>
+
++#undef ferror
++
+ using namespace std;
+
+ /////////////////////////////////////////////////////////////////////////////
diff --git a/mail/cone/patches/patch-libmail-mbox.C b/mail/cone/patches/patch-libmail-mbox.C
new file mode 100644
index 00000000000..fde22e9c65b
--- /dev/null
+++ b/mail/cone/patches/patch-libmail-mbox.C
@@ -0,0 +1,17 @@
+$NetBSD: patch-libmail-mbox.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/mbox.C.orig 2011-11-22 16:27:37.000000000 +0000
++++ libmail/mbox.C
+@@ -32,6 +32,10 @@
+ #include <signal.h>
+ #include <ctype.h>
+
++#undef feof
++#undef ferror
++#undef getc
++
+ using namespace std;
+
+ /////////////////////////////////////////////////////////////////////////////
diff --git a/mail/cone/patches/patch-libmail-mboxadd.C b/mail/cone/patches/patch-libmail-mboxadd.C
new file mode 100644
index 00000000000..c2946cbe605
--- /dev/null
+++ b/mail/cone/patches/patch-libmail-mboxadd.C
@@ -0,0 +1,17 @@
+$NetBSD: patch-libmail-mboxadd.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/mboxadd.C.orig 2011-11-22 16:29:21.000000000 +0000
++++ libmail/mboxadd.C
+@@ -16,6 +16,10 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+
++#undef feof
++#undef ferror
++#undef getc
++
+ using namespace std;
+
+ mail::mbox::folder::add::add(mail::mbox &mboxArg, string pathArg,
diff --git a/mail/cone/patches/patch-libmail-mboxfolder.C b/mail/cone/patches/patch-libmail-mboxfolder.C
new file mode 100644
index 00000000000..359a3b7cb12
--- /dev/null
+++ b/mail/cone/patches/patch-libmail-mboxfolder.C
@@ -0,0 +1,15 @@
+$NetBSD: patch-libmail-mboxfolder.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/mboxfolder.C.orig 2011-11-22 16:30:20.000000000 +0000
++++ libmail/mboxfolder.C
+@@ -40,6 +40,8 @@
+
+ #include <vector>
+
++#undef feof
++
+ using namespace std;
+
+ mail::mbox::folder::folder(string pathArg,
diff --git a/mail/cone/patches/patch-libmail-mboxgetmessage.C b/mail/cone/patches/patch-libmail-mboxgetmessage.C
new file mode 100644
index 00000000000..07c895ab1cc
--- /dev/null
+++ b/mail/cone/patches/patch-libmail-mboxgetmessage.C
@@ -0,0 +1,15 @@
+$NetBSD: patch-libmail-mboxgetmessage.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/mboxgetmessage.C.orig 2011-11-22 16:30:48.000000000 +0000
++++ libmail/mboxgetmessage.C
+@@ -16,6 +16,8 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+
++#undef feof
++
+ using namespace std;
+
+ mail::mbox::GenericGetMessageTask::GenericGetMessageTask(mail::mbox &mboxAccount,
diff --git a/mail/cone/patches/patch-libmail-mboxread.C b/mail/cone/patches/patch-libmail-mboxread.C
new file mode 100644
index 00000000000..6aacbe8cf4e
--- /dev/null
+++ b/mail/cone/patches/patch-libmail-mboxread.C
@@ -0,0 +1,15 @@
+$NetBSD: patch-libmail-mboxread.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/mboxread.C.orig 2011-11-22 16:32:57.000000000 +0000
++++ libmail/mboxread.C
+@@ -12,6 +12,8 @@
+ #include <ctype.h>
+ #include <errno.h>
+
++#undef feof
++
+ using namespace std;
+
+ mail::mbox::GenericReadTask::GenericReadTask(mail::mbox &mboxAccount,
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