- 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>
This commit is contained in:
Sergei Kolobov 2005-04-26 13:25:18 +00:00
parent e85b061286
commit 10baee1330
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134203
2 changed files with 12 additions and 1 deletions

View file

@ -17,7 +17,7 @@
PORTNAME= maildrop PORTNAME= maildrop
PORTVERSION= 1.8.0 PORTVERSION= 1.8.0
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= courier MASTER_SITE_SUBDIR= courier

View file

@ -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;
}