summaryrefslogtreecommitdiff
path: root/mail/teapop
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2002-04-09 07:18:44 +0000
committerJim Mock <jim@FreeBSD.org>2002-04-09 07:18:44 +0000
commitc5fe748506a703127d3b903baf560ee84d2faabf (patch)
treee584fdb7e4baea8e15a49174308afc1c3d9b5d7c /mail/teapop
parentallow ( ) to surround ioctl, real fix is to fix autoconf (diff)
Fix a problem where teapop wasn't fully deleting messages and dumping
core. Bump PORTREVISION. Submitted by: John Brooks <john@day-light.com>
Notes
Notes: svn path=/head/; revision=57483
Diffstat (limited to 'mail/teapop')
-rw-r--r--mail/teapop/Makefile1
-rw-r--r--mail/teapop/files/patch-ac13
2 files changed, 14 insertions, 0 deletions
diff --git a/mail/teapop/Makefile b/mail/teapop/Makefile
index febedb44aa36..bef406d0aca5 100644
--- a/mail/teapop/Makefile
+++ b/mail/teapop/Makefile
@@ -7,6 +7,7 @@
PORTNAME= teapop
PORTVERSION= 0.3.3
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.toontown.org/pub/teapop/ \
http://www.toontown.org/pub/teapop/
diff --git a/mail/teapop/files/patch-ac b/mail/teapop/files/patch-ac
new file mode 100644
index 000000000000..ac6e0e40c71d
--- /dev/null
+++ b/mail/teapop/files/patch-ac
@@ -0,0 +1,13 @@
+--- teapop/pop_lock.c.orig Sun Mar 31 09:12:59 2002
++++ teapop/pop_lock.c Sun Mar 31 09:14:38 2002
+@@ -239,6 +239,10 @@
+ {
+ struct flock lock_data;
+
++ /* xpinfo is unset if no mailbox is opened */
++ if (xpinfo == NULL)
++ return;
++
+ /* Maildir OR mbox */
+ if (xpinfo->mboxtype == 1 || xpinfo->locktype & LOCK_DOTLOCK) {
+ (void)unlink(xpinfo->dotlock);