summaryrefslogtreecommitdiff
path: root/mail/dk-milter/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dk-milter/patches/patch-ae')
-rw-r--r--mail/dk-milter/patches/patch-ae29
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/dk-milter/patches/patch-ae b/mail/dk-milter/patches/patch-ae
new file mode 100644
index 00000000000..8a9489670c6
--- /dev/null
+++ b/mail/dk-milter/patches/patch-ae
@@ -0,0 +1,29 @@
+$NetBSD: patch-ae,v 1.1 2015/03/15 15:28:58 mef Exp $
+
+
+--- /dev/null 2008-10-16 17:49:30.000000000 +1300
++++ include/sm/os/sm_os_netbsd.h
+@@ -0,0 +1,23 @@
++/*
++ */
++
++/*
++** sm_os_netbsd.h -- platform definitions for NetBSD
++*/
++
++#define SM_OS_NAME "netbsd"
++
++#define SM_CONF_SYS_CDEFS_H 1
++
++#if defined(__NetBSD__)
++# include <sys/param.h> /* defines __NetBSD_Version__ */
++# if __NetBSD_Version__ >= 104030000
++ /* 1.4.3 and later have strlcpy()/strlcat() */
++# ifndef SM_CONF_STRL
++# define SM_CONF_STRL 1
++# endif
++# endif
++# if __NetBSD_Version__ >= 499006500
++# define SM_CONF_STDBOOL_H 1
++# endif
++#endif