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