diff options
author | Max Khon <fjoe@FreeBSD.org> | 2007-11-06 17:08:12 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2007-11-06 17:08:12 +0000 |
commit | 197bc56956d819e71935ef2cbcb1232f47df6330 (patch) | |
tree | accb1ba6efc4a2806c9af73d410452ee70a20d45 /mail | |
parent | 8c91ed6fff13bc1ad1c9027ab8e7f5dcf3040482 (diff) |
Fix build with gcc 4.2
Approved by: portmgr (pav), MAINTAINER
Notes
Notes:
svn path=/head/; revision=202545
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ftrack/Makefile | 8 | ||||
-rw-r--r-- | mail/ftrack/files/patch-hpp-pktbase.hpp | 11 |
2 files changed, 12 insertions, 7 deletions
diff --git a/mail/ftrack/Makefile b/mail/ftrack/Makefile index 16cd2f7278de..e4cea5775fa3 100644 --- a/mail/ftrack/Makefile +++ b/mail/ftrack/Makefile @@ -63,10 +63,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/doc/eng/* ${DOCSDIR} .endif -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/mail/ftrack/files/patch-hpp-pktbase.hpp b/mail/ftrack/files/patch-hpp-pktbase.hpp new file mode 100644 index 000000000000..cfecc022b292 --- /dev/null +++ b/mail/ftrack/files/patch-hpp-pktbase.hpp @@ -0,0 +1,11 @@ +--- hpp/pktbase.hpp.orig 2007-11-05 16:01:21.000000000 +0600 ++++ hpp/pktbase.hpp 2007-11-05 16:01:27.000000000 +0600 +@@ -30,7 +30,7 @@ + int CopyTail(FILE *tf); + int CopyMessages(FILE *tf); + int CopyOneMessage(FILE *tf); +- int PKTBASE::ReadHeader(FILE *tf, char *Buff); ++ int ReadHeader(FILE *tf, char *Buff); + public: + int WriteOneMsg(unsigned int Num, cMSG &m); + PKTBASE(); |