diff options
author | Sergei Kolobov <sergei@FreeBSD.org> | 2005-04-26 13:25:18 +0000 |
---|---|---|
committer | Sergei Kolobov <sergei@FreeBSD.org> | 2005-04-26 13:25:18 +0000 |
commit | 10baee1330cb57d8766895d59ab8e872f1be8191 (patch) | |
tree | 825d2b3ee1655b750b0e1dd69257eccff3b933a1 /mail/maildrop | |
parent | - Update to 2.3.3 (diff) |
- Add patch to work around the problem where maildrop exits with
"flock() failed" error when an attempting to route messages to /dev/null.
Patch is submitted upstream.
- Bump PORTREVISION
PR: ports/80106
Submitted by: David Lay <dsl@webize.com.au>
Notes
Notes:
svn path=/head/; revision=134203
Diffstat (limited to 'mail/maildrop')
-rw-r--r-- | mail/maildrop/Makefile | 2 | ||||
-rw-r--r-- | mail/maildrop/files/patch-filelock.C | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile index e9bb820b88dd..25de11834c73 100644 --- a/mail/maildrop/Makefile +++ b/mail/maildrop/Makefile @@ -17,7 +17,7 @@ PORTNAME= maildrop PORTVERSION= 1.8.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= courier diff --git a/mail/maildrop/files/patch-filelock.C b/mail/maildrop/files/patch-filelock.C new file mode 100644 index 000000000000..2ade3735cf9d --- /dev/null +++ b/mail/maildrop/files/patch-filelock.C @@ -0,0 +1,11 @@ +--- maildrop/filelock.C.orig Sat Apr 29 03:17:45 2000 ++++ maildrop/filelock.C Fri Apr 15 13:09:25 2005 +@@ -64,7 +64,7 @@ + // you're writing to a device file, you know what you're doing. + + if (fstat(fd, &stat_buf) >= 0 && ( +- S_ISREG(stat_buf.st_mode) || S_ISDIR(stat_buf.st_mode))) ++ S_ISCHR(stat_buf.st_mode) || S_ISBLK(stat_buf.st_mode))) + { + return; + } |