aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2002-08-05 04:41:04 +0800
committerjim <jim@FreeBSD.org>2002-08-05 04:41:04 +0800
commit3967dcba09fe908eb67fc658e3c4d28079f282d6 (patch)
tree5344e906dea586d6fb8a59f2dfb97ec3a7cd0474 /mail
parent26d4961252d51bdb277cb2f9f96b105dc415f21c (diff)
downloadfreebsd-ports-gnome-3967dcba09fe908eb67fc658e3c4d28079f282d6.tar.gz
freebsd-ports-gnome-3967dcba09fe908eb67fc658e3c4d28079f282d6.tar.zst
freebsd-ports-gnome-3967dcba09fe908eb67fc658e3c4d28079f282d6.zip
Fix for those using POP3 servers that don't support the LAST command.
PR: 38281 Submitted by: Daichi GOTO <daichi@ongs.net>
Diffstat (limited to 'mail')
-rw-r--r--mail/wmpop3/Makefile1
-rw-r--r--mail/wmpop3/files/patch-ab15
2 files changed, 16 insertions, 0 deletions
diff --git a/mail/wmpop3/Makefile b/mail/wmpop3/Makefile
index aed0cd1edc75..7f13fad1a73e 100644
--- a/mail/wmpop3/Makefile
+++ b/mail/wmpop3/Makefile
@@ -7,6 +7,7 @@
PORTNAME= wmpop3
PORTVERSION= 0.5.6a
+PORTREVISION= 1
CATEGORIES= mail windowmaker
MASTER_SITES= http://www.cs.mun.ca/~scotth/download/
DISTFILES= WMPop3-${PORTVERSION}.tar.gz
diff --git a/mail/wmpop3/files/patch-ab b/mail/wmpop3/files/patch-ab
new file mode 100644
index 000000000000..177071a9d7c9
--- /dev/null
+++ b/mail/wmpop3/files/patch-ab
@@ -0,0 +1,15 @@
+--- Pop3Client.c.orig Sat Mar 2 13:18:27 2002
++++ Pop3Client.c Sat Mar 2 13:23:11 2002
+@@ -153,7 +153,12 @@
+
+ if( temp[0] != '+' ){
+ perror("Error Reciving Stats");
++ perror("This pop3 server dose not support LAST command.");
++ perror("I use 0 instread of the unkown result.");
++ pc->numOfUnreadMessages = pc->numOfMessages;
++/*
+ return -1;
++*/
+ }
+ return 1;
+