aboutsummaryrefslogtreecommitdiff
path: root/mail/dma
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2010-08-11 20:24:43 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2010-08-11 20:24:43 +0000
commit6b44f33d891947c149bd466ac2177ddab494cbe4 (patch)
treec63c18610fec6bbc5fd74dc9d56293e5560b0494 /mail/dma
parentda4e36874423d18d32c1f6e3dd49f409e514dc28 (diff)
downloadports-6b44f33d891947c149bd466ac2177ddab494cbe4.tar.gz
ports-6b44f33d891947c149bd466ac2177ddab494cbe4.zip
- Fixes warning in aliases_scan.l [1]
- Fixes warning in spool.c [2] Reported by: QAT Submitted by: Patrice Clement <patricec _at_ acm.org> (IRC) [1], me [2] Approved by: rene@ (mentor vacation)
Notes
Notes: svn path=/head/; revision=259116
Diffstat (limited to 'mail/dma')
-rw-r--r--mail/dma/files/patch-aliases_scan.l11
-rw-r--r--mail/dma/files/patch-dma.c2
-rw-r--r--mail/dma/files/patch-spool.c11
3 files changed, 23 insertions, 1 deletions
diff --git a/mail/dma/files/patch-aliases_scan.l b/mail/dma/files/patch-aliases_scan.l
new file mode 100644
index 000000000000..379c470232d4
--- /dev/null
+++ b/mail/dma/files/patch-aliases_scan.l
@@ -0,0 +1,11 @@
+--- ./aliases_scan.l.orig 2010-08-10 17:48:35.000000000 +0200
++++ ./aliases_scan.l 2010-08-11 19:54:44.877687647 +0200
+@@ -3,8 +3,6 @@
+ #include <string.h>
+ #include "aliases_parse.h"
+
+-#define YY_NO_INPUT
+-
+ int yylex(void);
+ %}
+
diff --git a/mail/dma/files/patch-dma.c b/mail/dma/files/patch-dma.c
index 8fdd730cd224..4bd1cf5461b2 100644
--- a/mail/dma/files/patch-dma.c
+++ b/mail/dma/files/patch-dma.c
@@ -1,5 +1,5 @@
--- ./dma.c.orig 2010-08-10 17:48:35.000000000 +0200
-+++ ./dma.c 2010-08-11 08:02:15.966237154 +0200
++++ ./dma.c 2010-08-11 18:53:37.562144471 +0200
@@ -295,7 +295,7 @@
exit(1);
}
diff --git a/mail/dma/files/patch-spool.c b/mail/dma/files/patch-spool.c
new file mode 100644
index 000000000000..e1342d12e03c
--- /dev/null
+++ b/mail/dma/files/patch-spool.c
@@ -0,0 +1,11 @@
+--- ./spool.c.orig 2010-08-10 17:48:35.000000000 +0200
++++ ./spool.c 2010-08-11 18:59:57.113889734 +0200
+@@ -92,7 +92,7 @@
+ */
+ if (fstat(fd, &st) != 0)
+ goto fail;
+- if (asprintf(&queue->id, "%"PRIxMAX, st.st_ino) < 0)
++ if (asprintf(&queue->id, "%"PRIxMAX, (uintmax_t)st.st_ino) < 0)
+ goto fail;
+
+ queue->mailf = fdopen(fd, "r+");