diff options
author | fjoe <fjoe@FreeBSD.org> | 2007-11-07 01:08:12 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2007-11-07 01:08:12 +0800 |
commit | 6efe4508b6330d8ad1f01b1cbc3e8c346073056d (patch) | |
tree | 4f8dc92fdee87ebd7319acbff58b5d1dd27260b5 /mail | |
parent | 4607ad1c9edad1acd06a92625aa0dc5a804517c6 (diff) | |
download | freebsd-ports-gnome-6efe4508b6330d8ad1f01b1cbc3e8c346073056d.tar.gz freebsd-ports-gnome-6efe4508b6330d8ad1f01b1cbc3e8c346073056d.tar.zst freebsd-ports-gnome-6efe4508b6330d8ad1f01b1cbc3e8c346073056d.zip |
Fix build with gcc 4.2
Approved by: portmgr (pav), MAINTAINER
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(); |