summaryrefslogtreecommitdiff
path: root/mail/dma/files/patch-mail.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2010-10-18 11:39:00 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2010-10-18 11:39:00 +0000
commitd568800800520d23c18fd55a2dbe4ae3e5fc1ca8 (patch)
treeb4aec58c11c6cd72c63138ab0f967522bc8d96fc /mail/dma/files/patch-mail.c
parent- Update to 3.2.12 (diff)
- Update port to latest developer version
- Remove now useless patch-spool.c - add patch-mail.c to fix compilation on 8.1 i386 Note that the dragonflybsd version and gitorious versions are different and the virtuser file is gone in favour of env MAIL variable. PR: ports/151408 Submitted by: bz@
Notes
Notes: svn path=/head/; revision=263187
Diffstat (limited to 'mail/dma/files/patch-mail.c')
-rw-r--r--mail/dma/files/patch-mail.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/dma/files/patch-mail.c b/mail/dma/files/patch-mail.c
new file mode 100644
index 000000000000..1c43e7f575fc
--- /dev/null
+++ b/mail/dma/files/patch-mail.c
@@ -0,0 +1,11 @@
+--- ./mail.c.orig 2010-10-04 21:03:33.000000000 +0200
++++ ./mail.c 2010-10-18 13:34:03.222470911 +0200
+@@ -415,7 +415,7 @@
+ snprintf(line, sizeof(line), "Message-Id: <%"PRIxMAX".%s.%"PRIxMAX"@%s>\n",
+ (uintmax_t)time(NULL),
+ queue->id,
+- random(),
++ (uintmax_t)random(),
+ hostname());
+ } else if (!had_from) {
+ had_from = 1;