diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-08-10 13:00:54 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-08-10 13:00:54 +0000 |
commit | 58370da3e495b9d94842b4aac158c33417a7fb1c (patch) | |
tree | 45a71ff2130061a45fc21596c29899916b8a5d93 /mail/kiltdown | |
parent | 72c0239bbfd8e7293df4f74fc56b4cf00525cd1e (diff) | |
download | FreeBSD-ports-58370da3e495b9d94842b4aac158c33417a7fb1c.zip FreeBSD-ports-58370da3e495b9d94842b4aac158c33417a7fb1c.tar.gz |
- Fix incompatibility with gcc33
Diffstat (limited to 'mail/kiltdown')
-rw-r--r-- | mail/kiltdown/Makefile | 10 | ||||
-rw-r--r-- | mail/kiltdown/files/patch-folderdb.cc | 53 |
2 files changed, 55 insertions, 8 deletions
diff --git a/mail/kiltdown/Makefile b/mail/kiltdown/Makefile index ecd6878..96b9403 100644 --- a/mail/kiltdown/Makefile +++ b/mail/kiltdown/Makefile @@ -7,7 +7,7 @@ PORTNAME= kiltdown PORTVERSION= 0.8.045 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= kiltdown @@ -40,10 +40,4 @@ do-configure: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/kiltdown/kiltdown ${PREFIX}/bin/ -.include <bsd.port.pre.mk> - -.if ${OSVERSION} > 501101 -BROKEN= incompatible with gcc33 -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/mail/kiltdown/files/patch-folderdb.cc b/mail/kiltdown/files/patch-folderdb.cc new file mode 100644 index 0000000..01373a0 --- /dev/null +++ b/mail/kiltdown/files/patch-folderdb.cc @@ -0,0 +1,53 @@ +--- kiltdown/folderdb.cc.orig Mon May 14 05:25:23 2001 ++++ kiltdown/folderdb.cc Sun Aug 10 14:40:43 2003 +@@ -152,35 +152,35 @@ + } persistenceTable [] = { + + // sender +- { PT_STRINGLIST, 1, {(void (MailMessage::*)())&MailMessage::getSenders}, {(void (MailMessage::*)())&MailMessage::setSenders} }, ++ { PT_STRINGLIST, 1, (void (MailMessage::*)())&MailMessage::getSenders, (void (MailMessage::*)())&MailMessage::setSenders }, + // realsender +- { PT_STRING, 1, {(void (MailMessage::*)())&MailMessage::getRealSender}, {(void (MailMessage::*)())&MailMessage::setRealSender} }, ++ { PT_STRING, 1, (void (MailMessage::*)())&MailMessage::getRealSender, (void (MailMessage::*)())&MailMessage::setRealSender }, + // recipient(s) +- { PT_STRINGLIST, 1, {(void (MailMessage::*)())&MailMessage::getRecipients}, {(void (MailMessage::*)())&MailMessage::setRecipients} }, ++ { PT_STRINGLIST, 1, (void (MailMessage::*)())&MailMessage::getRecipients, (void (MailMessage::*)())&MailMessage::setRecipients }, + // replyto +- { PT_STRING, 2, {(void (MailMessage::*)())&MailMessage::getReplyTo}, {(void (MailMessage::*)())&MailMessage::setReplyTo} }, ++ { PT_STRING, 2, (void (MailMessage::*)())&MailMessage::getReplyTo, (void (MailMessage::*)())&MailMessage::setReplyTo }, + // returnpath +- { PT_STRING, 2, {(void (MailMessage::*)())&MailMessage::getReturnPath}, {(void (MailMessage::*)())&MailMessage::setReturnPath} }, ++ { PT_STRING, 2, (void (MailMessage::*)())&MailMessage::getReturnPath, (void (MailMessage::*)())&MailMessage::setReturnPath }, + // cc(s) +- { PT_STRINGLIST, 1, {(void (MailMessage::*)())&MailMessage::getCCs}, {(void (MailMessage::*)())&MailMessage::setCCs} }, ++ { PT_STRINGLIST, 1, (void (MailMessage::*)())&MailMessage::getCCs, (void (MailMessage::*)())&MailMessage::setCCs }, + // bcc(s) +- { PT_STRINGLIST, 1, {(void (MailMessage::*)())&MailMessage::getBCCs}, {(void (MailMessage::*)())&MailMessage::setBCCs} }, ++ { PT_STRINGLIST, 1, (void (MailMessage::*)())&MailMessage::getBCCs, (void (MailMessage::*)())&MailMessage::setBCCs }, + // subject +- { PT_STRING, 1, {(void (MailMessage::*)())&MailMessage::getSubject}, {(void (MailMessage::*)())&MailMessage::setSubject} }, ++ { PT_STRING, 1, (void (MailMessage::*)())&MailMessage::getSubject, (void (MailMessage::*)())&MailMessage::setSubject }, + // sent +- { PT_DATE, 1, {(void (MailMessage::*)())(ERRCODE (MailMessage::*)(time_t *))&MailMessage::getSent}, {(void (MailMessage::*)())&MailMessage::setSent} }, ++ { PT_DATE, 1, (void (MailMessage::*)())(ERRCODE (MailMessage::*)(time_t *))&MailMessage::getSent, (void (MailMessage::*)())&MailMessage::setSent }, + // received +- { PT_DATE, 1, {(void (MailMessage::*)())(ERRCODE (MailMessage::*)(time_t *))&MailMessage::getReceived}, {(void (MailMessage::*)())&MailMessage::setReceived} }, ++ { PT_DATE, 1, (void (MailMessage::*)())(ERRCODE (MailMessage::*)(time_t *))&MailMessage::getReceived, (void (MailMessage::*)())&MailMessage::setReceived }, + // has attachment(s) +- { PT_BOOLEAN, 1, {(void (MailMessage::*)())&MailMessage::getHasAttachments}, {(void (MailMessage::*)())&MailMessage::setHasAttachments} }, ++ { PT_BOOLEAN, 1, (void (MailMessage::*)())&MailMessage::getHasAttachments, (void (MailMessage::*)())&MailMessage::setHasAttachments }, + // priority +- { PT_INTEGER, 1, {(void (MailMessage::*)())&MailMessage::getPriority}, {(void (MailMessage::*)())&MailMessage::setPriority} }, ++ { PT_INTEGER, 1, (void (MailMessage::*)())&MailMessage::getPriority, (void (MailMessage::*)())&MailMessage::setPriority }, + // size +- { PT_INTEGER, 1, {(void (MailMessage::*)())&MailMessage::getSize}, {(void (MailMessage::*)())&MailMessage::setSize} }, ++ { PT_INTEGER, 1, (void (MailMessage::*)())&MailMessage::getSize, (void (MailMessage::*)())&MailMessage::setSize }, + // status +- { PT_INTEGER, 1, {(void (MailMessage::*)())&MailMessage::getStatus}, {(void (MailMessage::*)())&MailMessage::setStatus} }, ++ { PT_INTEGER, 1, (void (MailMessage::*)())&MailMessage::getStatus, (void (MailMessage::*)())&MailMessage::setStatus }, + // extra headers +- { PT_STRINGLIST, 1, {(void (MailMessage::*)())&MailMessage::getExtraHeaders}, {(void (MailMessage::*)())&MailMessage::setExtraHeaders} }, ++ { PT_STRINGLIST, 1, (void (MailMessage::*)())&MailMessage::getExtraHeaders, (void (MailMessage::*)())&MailMessage::setExtraHeaders }, + + // that's it! + { PT_FINITO, -1, NULL, NULL } |