diff options
author | bapt <bapt@FreeBSD.org> | 2010-08-12 04:24:43 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2010-08-12 04:24:43 +0800 |
commit | c9234a44c0ba4ae230860f157c5df15970de7e84 (patch) | |
tree | 2719492749becab916cb3bab05e232a7fb938782 /mail/dma | |
parent | e6fdd12072a10e1bd6a4e57b0cf1e9666b4b9657 (diff) | |
download | freebsd-ports-gnome-c9234a44c0ba4ae230860f157c5df15970de7e84.tar.gz freebsd-ports-gnome-c9234a44c0ba4ae230860f157c5df15970de7e84.tar.zst freebsd-ports-gnome-c9234a44c0ba4ae230860f157c5df15970de7e84.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)
Diffstat (limited to 'mail/dma')
-rw-r--r-- | mail/dma/files/patch-aliases_scan.l | 11 | ||||
-rw-r--r-- | mail/dma/files/patch-dma.c | 2 | ||||
-rw-r--r-- | mail/dma/files/patch-spool.c | 11 |
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+"); |