summaryrefslogtreecommitdiff
path: root/mail/dma/files/patch-spool.c
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-09-16 13:44:26 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-09-16 13:44:26 +0000
commitfff82c442ccae8ea21caa3d81a6f741bfa270c2c (patch)
tree26a6350dcd2dada724c112e59091a73be1fa83fb /mail/dma/files/patch-spool.c
parentUpdate to 3.5.1. (diff)
mail/dma: update to 0.9
- Update to 0.9 [1] - USE_GITHUB framework - Remove useless LICENSE_FILE - Trim Makefile header - Mark IGNORE for 8.x PR: ports/182058 Submitted by: bz (maintainer)
Diffstat (limited to 'mail/dma/files/patch-spool.c')
-rw-r--r--mail/dma/files/patch-spool.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/dma/files/patch-spool.c b/mail/dma/files/patch-spool.c
new file mode 100644
index 000000000000..0ebbfa10fca2
--- /dev/null
+++ b/mail/dma/files/patch-spool.c
@@ -0,0 +1,11 @@
+--- spool.c.orig 2013-06-03 14:03:15.000000000 +0000
++++ spool.c 2013-08-22 11:07:47.000000000 +0000
+@@ -415,7 +415,7 @@ flushqueue_since(unsigned int period)
+ return (0);
+
+ /* Did the flush file get touched within the last period seconds? */
+- if (st.st_mtim.tv_sec + period >= now.tv_sec)
++ if (st.st_mtim.tv_sec + (int)period >= now.tv_sec)
+ return (1);
+ else
+ return (0);