summaryrefslogtreecommitdiff
path: root/mail/postfix/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix/patches/patch-ag')
-rw-r--r--mail/postfix/patches/patch-ag17
1 files changed, 13 insertions, 4 deletions
diff --git a/mail/postfix/patches/patch-ag b/mail/postfix/patches/patch-ag
index b9b83dc9ade..797fc5a2354 100644
--- a/mail/postfix/patches/patch-ag
+++ b/mail/postfix/patches/patch-ag
@@ -1,11 +1,20 @@
-$NetBSD: patch-ag,v 1.36 2015/09/07 09:47:01 fhajny Exp $
+$NetBSD: patch-ag,v 1.37 2016/11/04 17:10:10 sevan Exp $
* Add support for NetBSD 7.
* Only define HAS_DB if it hasn't been defined.
+* Add support for FreeBSD 11 and 12.
---- src/util/sys_defs.h.orig 2015-07-18 13:28:17.000000000 +0000
+--- src/util/sys_defs.h.orig 2016-05-15 16:39:11.000000000 +0000
+++ src/util/sys_defs.h
-@@ -45,7 +45,9 @@
+@@ -26,6 +26,7 @@
+ #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
+ || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
+ || defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \
++ || defined(FREEBSD11) || defined(FREEBSD12) \
+ || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
+ || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
+ || defined(OPENBSD5) || defined(OPENBSD6) \
+@@ -45,7 +46,9 @@
#define DEF_MAILBOX_LOCK "flock, dotlock"
#define HAS_SUN_LEN
#define HAS_FSYNC
@@ -15,7 +24,7 @@ $NetBSD: patch-ag,v 1.36 2015/09/07 09:47:01 fhajny Exp $
#define HAS_SA_LEN
#define NATIVE_DB_TYPE "hash"
#if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000)
-@@ -1267,6 +1269,8 @@ extern int h_errno;
+@@ -1268,6 +1271,8 @@ extern int h_errno;
#define DEF_SMTP_CACHE_DEMAND 0
#endif