aboutsummaryrefslogtreecommitdiffstats
path: root/mail/teapop-devel
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2002-04-09 15:18:44 +0800
committerjim <jim@FreeBSD.org>2002-04-09 15:18:44 +0800
commit857965087cc3e5ff0edd255057670dd7aa61371b (patch)
tree8f0b62f3173f8793090b3ba1b0e86dd79260a94a /mail/teapop-devel
parent365474eb5bb7970b98f89cf68f9556afd49401a6 (diff)
downloadfreebsd-ports-gnome-857965087cc3e5ff0edd255057670dd7aa61371b.tar.gz
freebsd-ports-gnome-857965087cc3e5ff0edd255057670dd7aa61371b.tar.zst
freebsd-ports-gnome-857965087cc3e5ff0edd255057670dd7aa61371b.zip
Fix a problem where teapop wasn't fully deleting messages and dumping
core. Bump PORTREVISION. Submitted by: John Brooks <john@day-light.com>
Diffstat (limited to 'mail/teapop-devel')
-rw-r--r--mail/teapop-devel/Makefile1
-rw-r--r--mail/teapop-devel/files/patch-ac13
2 files changed, 14 insertions, 0 deletions
diff --git a/mail/teapop-devel/Makefile b/mail/teapop-devel/Makefile
index febedb44aa36..bef406d0aca5 100644
--- a/mail/teapop-devel/Makefile
+++ b/mail/teapop-devel/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-devel/files/patch-ac b/mail/teapop-devel/files/patch-ac
new file mode 100644
index 000000000000..ac6e0e40c71d
--- /dev/null
+++ b/mail/teapop-devel/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);