summaryrefslogtreecommitdiff
path: root/mail/postfix/patches
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix/patches')
-rw-r--r--mail/postfix/patches/patch-ag13
-rw-r--r--mail/postfix/patches/patch-ai26
2 files changed, 26 insertions, 13 deletions
diff --git a/mail/postfix/patches/patch-ag b/mail/postfix/patches/patch-ag
index 7ea3419bebd..62796447e7f 100644
--- a/mail/postfix/patches/patch-ag
+++ b/mail/postfix/patches/patch-ag
@@ -1,14 +1,17 @@
-$NetBSD: patch-ag,v 1.26 2008/09/17 13:21:19 joerg Exp $
+$NetBSD: patch-ag,v 1.27 2008/11/03 00:47:17 taca Exp $
Only define HAS_DB if it hasn't been defined.
+Add support for NetBSD 5.x and DragonFly BSD.
---- src/util/sys_defs.h.orig 2008-01-15 02:51:44 +0200
-+++ src/util/sys_defs.h 2008-07-18 22:24:22 +0300
-@@ -29,7 +29,7 @@
+--- src/util/sys_defs.h.orig 2008-01-15 09:51:44.000000000 +0900
++++ src/util/sys_defs.h
+@@ -28,8 +28,8 @@
+ || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
|| defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
- || defined(NETBSD4) \
+- || defined(NETBSD4) \
- || defined(EKKOBSD1)
++ || defined(NETBSD4) || defined(NETBSD5) \
+ || defined(EKKOBSD1) || defined(DRAGONFLY)
#define SUPPORTED
#include <sys/types.h>
diff --git a/mail/postfix/patches/patch-ai b/mail/postfix/patches/patch-ai
index 6c30a71c3cd..b92c0e84d6f 100644
--- a/mail/postfix/patches/patch-ai
+++ b/mail/postfix/patches/patch-ai
@@ -1,10 +1,11 @@
-$NetBSD: patch-ai,v 1.23 2008/09/17 13:21:19 joerg Exp $
+$NetBSD: patch-ai,v 1.24 2008/11/03 00:47:17 taca Exp $
Make this pkgsrc friendly.
+Add support for NetBSD 5.x and DragonFly BSD.
---- makedefs.orig 2007-08-19 14:28:11.000000000 +0000
-+++ makedefs 2007-10-22 05:50:31.000000000 +0000
-@@ -132,6 +132,8 @@
+--- makedefs.orig 2008-01-16 05:20:24.000000000 +0900
++++ makedefs
+@@ -132,6 +132,8 @@ case "$SYSTEM.$RELEASE" in
;;
FreeBSD.7*) SYSTYPE=FREEBSD7
;;
@@ -13,7 +14,16 @@ Make this pkgsrc friendly.
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
OpenBSD.3*) SYSTYPE=OPENBSD3
-@@ -198,13 +200,6 @@
+@@ -148,6 +150,8 @@ case "$SYSTEM.$RELEASE" in
+ ;;
+ NetBSD.4*) SYSTYPE=NETBSD4
+ ;;
++ NetBSD.5*) SYSTYPE=NETBSD5
++ ;;
+ BSD/OS.2*) SYSTYPE=BSDI2
+ ;;
+ BSD/OS.3*) SYSTYPE=BSDI3
+@@ -198,13 +202,6 @@ case "$SYSTEM.$RELEASE" in
esac
;;
ULTRIX.4*) SYSTYPE=ULTRIX4
@@ -27,7 +37,7 @@ Make this pkgsrc friendly.
for l in syslog resolv; do
if [ -f /usr/local/lib/lib$l.a ]; then
SYSLIBS="$SYSLIBS -l$l"
-@@ -236,25 +231,8 @@
+@@ -236,25 +233,8 @@ case "$SYSTEM.$RELEASE" in
esac;;
# Tested with RedHat 3.03 on 20020729.
Linux.1*) SYSTYPE=LINUX1
@@ -53,7 +63,7 @@ Make this pkgsrc friendly.
# GDBM locks the DBM .pag file after open. This breaks postmap.
# if [ -f /usr/include/gdbm-ndbm.h ]
# then
-@@ -265,7 +243,6 @@
+@@ -265,7 +245,6 @@ case "$SYSTEM.$RELEASE" in
# CCARGS="$CCARGS -DHAS_DBM -DPATH_NDBM_H='<gdbm/ndbm.h>'"
# GDBM_LIBS=gdbm
# fi
@@ -61,7 +71,7 @@ Make this pkgsrc friendly.
for name in nsl resolv $GDBM_LIBS
do
for lib in /usr/lib64 /lib64 /usr/lib /lib
-@@ -360,25 +337,13 @@
+@@ -360,25 +339,13 @@ EOF
HP-UX.A.09.*) SYSTYPE=HPUX9
SYSLIBS=-ldbm
CCARGS="$CCARGS -DMISSING_USLEEP"