summaryrefslogtreecommitdiff
path: root/mail/noattach/files
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-10-12 16:16:19 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-10-12 16:16:19 +0000
commit4a732520f3977f97112efe9027a1ca32428e64e7 (patch)
treeb3eb1c18e3776294c626ac9840c4ea9e475b358f /mail/noattach/files
parentUpdate to 1.06 (Based on SQLite 3.0.7). (diff)
- force milter dir as first include path
- fix build with sendmail 8.13 mfapi.h - switch default to sendmail 8.13
Notes
Notes: svn path=/head/; revision=119059
Diffstat (limited to 'mail/noattach/files')
-rw-r--r--mail/noattach/files/patch-Makefile.in11
-rw-r--r--mail/noattach/files/patch-noattach.c12
2 files changed, 23 insertions, 0 deletions
diff --git a/mail/noattach/files/patch-Makefile.in b/mail/noattach/files/patch-Makefile.in
new file mode 100644
index 000000000000..fb2a756dd7a1
--- /dev/null
+++ b/mail/noattach/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Thu Aug 21 15:56:27 2003
++++ Makefile.in Tue Oct 12 17:14:38 2004
+@@ -122,7 +122,7 @@
+ noattach_LDFLAGS =
+
+ DEFS = @DEFS@
+-DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
++DEFAULT_INCLUDES = $(MILTER_INCLUDES) -I. -I$(srcdir) -I.
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
diff --git a/mail/noattach/files/patch-noattach.c b/mail/noattach/files/patch-noattach.c
new file mode 100644
index 000000000000..19c07c00a793
--- /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 */