summaryrefslogtreecommitdiff
path: root/mail/cone/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-04-18 16:55:34 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-04-18 16:55:34 +0000
commitd7607ecbd4a36f0e549946d04f8c225e72712b52 (patch)
tree4ac77cae6fdeeb4cb0c75bd2d4f9a965fe6d4d07 /mail/cone/files
parent- Update to version 0.2.2 (diff)
- Update to 0.58
PR: ports/65684 Submitted by: Matthias Andree <matthias.andree@gmx.de>
Notes
Notes: svn path=/head/; revision=107437
Diffstat (limited to 'mail/cone/files')
-rw-r--r--mail/cone/files/patch-fileno-casts49
-rw-r--r--mail/cone/files/patch-libmail::pop3maildrop.C11
2 files changed, 49 insertions, 11 deletions
diff --git a/mail/cone/files/patch-fileno-casts b/mail/cone/files/patch-fileno-casts
new file mode 100644
index 000000000000..489efd0a3a1a
--- /dev/null
+++ b/mail/cone/files/patch-fileno-casts
@@ -0,0 +1,49 @@
+--- libmail/mbox.C~ Tue Apr 6 04:06:36 2004
++++ libmail/mbox.C Sat Apr 17 22:05:27 2004
+@@ -1243,7 +1243,7 @@
+ // Remember how big the saveFile was,
+ // originally.
+
+- if (fstat(fileno(*saveFile), &stat_buf) < 0)
++ if (fstat(fileno(static_cast<FILE *>(*saveFile)), &stat_buf) < 0)
+ {
+ return false;
+ }
+@@ -1280,7 +1280,7 @@
+ {
+ // Potential short cut.
+
+- if (fstat(fileno(scanFile), &stat_buf) < 0)
++ if (fstat(fileno(static_cast<FILE *>(scanFile)), &stat_buf) < 0)
+ {
+ return false;
+ }
+--- libmail/mboxadd.C~ Wed Aug 27 04:37:22 2003
++++ libmail/mboxadd.C Sat Apr 17 22:06:10 2004
+@@ -99,13 +99,13 @@
+ {
+ struct stat st;
+
+- mail::mbox::sighandler updating(fileno(file));
++ mail::mbox::sighandler updating(fileno(static_cast<FILE *>(file)));
+
+ try {
+
+ // Make sure the mboxAccount file ends with a trailing newline
+
+- if (fstat(fileno(file), &st) < 0)
++ if (fstat(fileno(static_cast<FILE *>(file)), &st) < 0)
+ {
+ fail(strerror(errno));
+ return;
+--- libmail/mboxgetmessage.C~ Wed Aug 27 04:37:22 2003
++++ libmail/mboxgetmessage.C Sat Apr 17 22:06:42 2004
+@@ -81,7 +81,7 @@
+ {
+ struct stat stat_buf;
+
+- if (fstat(fileno(file), &stat_buf) < 0)
++ if (fstat(fileno(static_cast<FILE *>(file)), &stat_buf) < 0)
+ endingPos=stat_buf.st_size;
+ }
+ else
diff --git a/mail/cone/files/patch-libmail::pop3maildrop.C b/mail/cone/files/patch-libmail::pop3maildrop.C
deleted file mode 100644
index 7dbe5f3de313..000000000000
--- a/mail/cone/files/patch-libmail::pop3maildrop.C
+++ /dev/null
@@ -1,11 +0,0 @@
---- libmail/pop3maildrop.C.orig Sun Nov 16 03:43:14 2003
-+++ libmail/pop3maildrop.C Sat Nov 29 04:29:03 2003
-@@ -13,6 +13,8 @@
- #include <errno.h>
- #include <string.h>
- #include <stdlib.h>
-+#include <sys/types.h>
-+#include <sys/stat.h>
-
- using namespace std;
-