summaryrefslogtreecommitdiffstats
path: root/mail/noattach/files/patch-noattach.c
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-10-12 16:16:19 +0000
committerdinoex <dinoex@FreeBSD.org>2004-10-12 16:16:19 +0000
commit9c280a2074d151e1cbc2ac9431c2077f395ba486 (patch)
treeef0e6cf193e3d97e25243dc3cf7d903128311aea /mail/noattach/files/patch-noattach.c
parent93c03970926225714423448e961a5f3eb6359c6a (diff)
downloadFreeBSD-ports-9c280a2074d151e1cbc2ac9431c2077f395ba486.zip
FreeBSD-ports-9c280a2074d151e1cbc2ac9431c2077f395ba486.tar.gz
- force milter dir as first include path
- fix build with sendmail 8.13 mfapi.h - switch default to sendmail 8.13
Diffstat (limited to 'mail/noattach/files/patch-noattach.c')
-rw-r--r--mail/noattach/files/patch-noattach.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/noattach/files/patch-noattach.c b/mail/noattach/files/patch-noattach.c
new file mode 100644
index 0000000..19c07c0
--- /dev/null
+++ b/mail/noattach/files/patch-noattach.c
@@ -0,0 +1,12 @@
+--- noattach.c.orig Thu Aug 21 15:52:48 2003
++++ noattach.c Tue Oct 12 18:02:32 2004
+@@ -54,7 +54,9 @@
+ #define BUFFER_SIZE (MILTER_CHUNK_SIZE+OVERLAP_SIZE)
+
+ #ifndef true
++#ifndef __bool_true_false_are_defined
+ typedef int bool;
++#endif /* ! __bool_true_false_are_defined */
+ #define false 0
+ #define true 1
+ #endif /* ! true */
OpenPOWER on IntegriCloud