summaryrefslogtreecommitdiff
path: root/mail/dma/files/extrapatch-else-spool.c
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2014-05-18 01:53:30 +0000
committerErwin Lansing <erwin@FreeBSD.org>2014-05-18 01:53:30 +0000
commite720cb988a3a46ab8898b03e2b955f5ab61ab4cd (patch)
tree3b4ad3dad291bb8c038e774bbfe192ee56ddc537 /mail/dma/files/extrapatch-else-spool.c
parent- %D is based on @cwd, not PREFIX; Fix false-postives when using pkg_install (diff)
- Fix build on 8.x [1]
- Change license to BSD3CLAUSE - Stageify PR: 189895 [1] Submitted by: plosher [1] Sponsored by: DK Hostmaster A/S
Notes
Notes: svn path=/head/; revision=354383
Diffstat (limited to 'mail/dma/files/extrapatch-else-spool.c')
-rw-r--r--mail/dma/files/extrapatch-else-spool.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/dma/files/extrapatch-else-spool.c b/mail/dma/files/extrapatch-else-spool.c
new file mode 100644
index 000000000000..0ebbfa10fca2
--- /dev/null
+++ b/mail/dma/files/extrapatch-else-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);