From 43f8d25da757577ba97e4d8e16a4d8b60ef6610f Mon Sep 17 00:00:00 2001 From: vs Date: Mon, 14 Jun 2004 15:17:55 +0000 Subject: Update to 0.60: - drop ncurses requirement - bump minimum FreeBSD version to 5.2.1-RELEASE - fix compilation with GCC 3.4 PR: ports/67686 Submitted by: Matthias Andree --- mail/cone/files/patch-fileno-casts | 49 -------------------------------------- mail/cone/files/patch-gcc34 | 10 ++++++++ 2 files changed, 10 insertions(+), 49 deletions(-) delete mode 100644 mail/cone/files/patch-fileno-casts create mode 100644 mail/cone/files/patch-gcc34 (limited to 'mail/cone/files') diff --git a/mail/cone/files/patch-fileno-casts b/mail/cone/files/patch-fileno-casts deleted file mode 100644 index 489efd0a3a1a..000000000000 --- a/mail/cone/files/patch-fileno-casts +++ /dev/null @@ -1,49 +0,0 @@ ---- 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(*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(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))); - - try { - - // Make sure the mboxAccount file ends with a trailing newline - -- if (fstat(fileno(file), &st) < 0) -+ if (fstat(fileno(static_cast(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)), &stat_buf) < 0) - endingPos=stat_buf.st_size; - } - else diff --git a/mail/cone/files/patch-gcc34 b/mail/cone/files/patch-gcc34 new file mode 100644 index 000000000000..9b84b964edb4 --- /dev/null +++ b/mail/cone/files/patch-gcc34 @@ -0,0 +1,10 @@ +--- libmail/addressbookget.C~ Mon Jun 7 20:46:57 2004 ++++ libmail/addressbookget.C Mon Jun 7 20:45:14 2004 +@@ -260,5 +260,5 @@ + addressBookLineMap.insert(make_pair(hdr, text)); + } + +-template mail::addressbook::GetAddressList; +-template mail::addressbook::GetAddressList; ++template class mail::addressbook::GetAddressList; ++template class mail::addressbook::GetAddressList; -- cgit