aboutsummaryrefslogtreecommitdiff
path: root/mail/ml
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-08-19 13:09:27 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-08-19 13:09:27 +0000
commit73481d885afddff6c712172cdec3e789c147e324 (patch)
tree1449ecd53a6df099c64ce59ae45cae14e6f2f7a8 /mail/ml
parent4095d64e48aec625508ea39f50ba631d2ce0844d (diff)
downloadports-73481d885afddff6c712172cdec3e789c147e324.tar.gz
ports-73481d885afddff6c712172cdec3e789c147e324.zip
Notes
Diffstat (limited to 'mail/ml')
-rw-r--r--mail/ml/Makefile16
-rw-r--r--mail/ml/files/patch-imap-4-src-osdep-unix-bezerk.c20
-rw-r--r--mail/ml/files/patch-impa-4-src-osdep-unix-mmdf.c20
3 files changed, 43 insertions, 13 deletions
diff --git a/mail/ml/Makefile b/mail/ml/Makefile
index cf3826694672..d047bb08d10b 100644
--- a/mail/ml/Makefile
+++ b/mail/ml/Makefile
@@ -8,28 +8,18 @@
PORTNAME= ml
PORTVERSION= 3.4
CATEGORIES= mail
-# mastersite disappeared in October 2003
-MASTER_SITES= # http://ftp.rge.com/pub/mail/ml/
+MASTER_SITES= http://ftp.uni-koeln.de/windows/xcontrib/
-DEPRECATED= "master site disappeared"
-EXPIRATION_DATE=2005-08-31
-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= mjl@luckie.org.nz
COMMENT= An X11 IMAP client
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_IMAKE= yes
USE_MOTIF= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile"
-.endif
-
pre-configure:
@${ECHO_MSG} "===> Building c-client"
@( cd ${WRKSRC}/../imap-4; make bsi )
@( cd ${WRKSRC}; ${RM} -f makeproto )
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/ml/files/patch-imap-4-src-osdep-unix-bezerk.c b/mail/ml/files/patch-imap-4-src-osdep-unix-bezerk.c
new file mode 100644
index 000000000000..138ba8bbf967
--- /dev/null
+++ b/mail/ml/files/patch-imap-4-src-osdep-unix-bezerk.c
@@ -0,0 +1,20 @@
+--- ../imap-4/src/osdep/unix/bezerk.c.orig Tue Mar 31 13:07:23 1998
++++ ../imap-4/src/osdep/unix/bezerk.c Sat Aug 20 00:11:13 2005
+@@ -896,7 +896,7 @@
+ /* length of internal + message headers */
+ iov[j].iov_len = (m->header + m->headersize) - m->internal;
+ /* suppress extra newline if present */
+- if ((iov[j].iov_base)[iov[j].iov_len - 2] == '\n') iov[j++].iov_len--;
++ if (((char *)iov[j].iov_base)[iov[j].iov_len - 2] == '\n') iov[j++].iov_len--;
+ else j++; /* unlikely but... */
+ /* status */
+ iov[j].iov_base = status;
+@@ -1775,7 +1775,7 @@
+ /* length of internal + message headers */
+ iov[j].iov_len = (m->header + m->headersize) - m->internal;
+ /* suppress extra newline if present */
+- if ((iov[j].iov_base)[iov[j].iov_len - 2] == '\n') iov[j++].iov_len--;
++ if (((char *)iov[j].iov_base)[iov[j].iov_len - 2] == '\n') iov[j++].iov_len--;
+ else j++; /* unlikely but... */
+ /* status */
+ iov[j].iov_base = LOCAL->buf;
diff --git a/mail/ml/files/patch-impa-4-src-osdep-unix-mmdf.c b/mail/ml/files/patch-impa-4-src-osdep-unix-mmdf.c
new file mode 100644
index 000000000000..81a7a6ac7b47
--- /dev/null
+++ b/mail/ml/files/patch-impa-4-src-osdep-unix-mmdf.c
@@ -0,0 +1,20 @@
+--- ../imap-4/src/osdep/unix/mmdf.c.orig Tue Mar 31 13:07:25 1998
++++ ../imap-4/src/osdep/unix/mmdf.c Sat Aug 20 00:17:25 2005
+@@ -869,7 +869,7 @@
+ /* length of internal + message headers */
+ iov[j].iov_len = (m->header + m->headersize) - m->internal;
+ /* suppress extra newline if present */
+- if ((iov[j].iov_base)[iov[j].iov_len - 2] == '\n') iov[j++].iov_len--;
++ if (((char *)iov[j].iov_base)[iov[j].iov_len - 2] == '\n') iov[j++].iov_len--;
+ else j++; /* unlikely but... */
+ /* status */
+ iov[j].iov_base = status;
+@@ -1727,7 +1727,7 @@
+ /* length of internal + message headers */
+ iov[j].iov_len = (m->header + m->headersize) - m->internal;
+ /* suppress extra newline if present */
+- if ((iov[j].iov_base)[iov[j].iov_len - 2] == '\n') iov[j++].iov_len--;
++ if (((char *)iov[j].iov_base)[iov[j].iov_len - 2] == '\n') iov[j++].iov_len--;
+ else j++; /* unlikely but... */
+ /* status */
+ iov[j].iov_base = LOCAL->buf;