aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-08-19 21:09:27 +0800
committerpav <pav@FreeBSD.org>2005-08-19 21:09:27 +0800
commitf9f670d2c6abf6acea6d47a081849d5b297c05a9 (patch)
tree714bb157d8bf97b6445a2c8fb01190d4da9f9ab0 /mail
parente2d352cbec551d3d468c390e14c548a546f89d15 (diff)
downloadfreebsd-ports-gnome-f9f670d2c6abf6acea6d47a081849d5b297c05a9.tar.gz
freebsd-ports-gnome-f9f670d2c6abf6acea6d47a081849d5b297c05a9.tar.zst
freebsd-ports-gnome-f9f670d2c6abf6acea6d47a081849d5b297c05a9.zip
- Unbreak on 5.X and newer, fix fetch
- Take maintainership PR: ports/85119 Submitted by: Matthew Luckie <mjl@luckie.org.nz> Approved by: portmgr (marcus)
Diffstat (limited to 'mail')
-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;