diff options
author | schmonz <schmonz> | 2004-08-10 16:49:47 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2004-08-10 16:49:47 +0000 |
commit | a9d0868a74df74749be52e1e3f1c1faee487cdf8 (patch) | |
tree | 57784b70a90cc8183b262053616d62404310c993 /mail/postfix/patches | |
parent | 87f055196f441d5952f1c377a6b3a9c2000b3ef1 (diff) | |
download | pkgsrc-a9d0868a74df74749be52e1e3f1c1faee487cdf8.tar.gz |
Define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H for Mac OS X, and include
<nameser8_compat.h> before <resolv.h> if it's defined.
Along with Johnny's recent buildlink3 fixes, this fixes the build
for me on Mac OS X Server 10.3.4. Should address pkg/26584.
Diffstat (limited to 'mail/postfix/patches')
-rw-r--r-- | mail/postfix/patches/patch-ab | 14 | ||||
-rw-r--r-- | mail/postfix/patches/patch-ac | 14 | ||||
-rw-r--r-- | mail/postfix/patches/patch-ag | 10 |
3 files changed, 34 insertions, 4 deletions
diff --git a/mail/postfix/patches/patch-ab b/mail/postfix/patches/patch-ab new file mode 100644 index 00000000000..40d6d1591a0 --- /dev/null +++ b/mail/postfix/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.10 2004/08/10 16:49:47 schmonz Exp $ + +--- src/dns/dns.h.orig Mon Apr 30 09:22:59 2001 ++++ src/dns/dns.h +@@ -19,6 +19,9 @@ + #ifdef RESOLVE_H_NEEDS_STDIO_H + #include <stdio.h> + #endif ++#ifdef RESOLVE_H_NEEDS_NAMESER8_COMPAT_H ++#include <nameser8_compat.h> ++#endif + #include <resolv.h> + + /* diff --git a/mail/postfix/patches/patch-ac b/mail/postfix/patches/patch-ac new file mode 100644 index 00000000000..29c4c036c3f --- /dev/null +++ b/mail/postfix/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.8 2004/08/10 16:49:47 schmonz Exp $ + +--- src/util/match_ops.c.orig Tue Aug 10 02:29:26 2004 ++++ src/util/match_ops.c +@@ -117,6 +117,9 @@ + #include <string.h> + #include <netdb.h> + #include <arpa/inet.h> ++#ifdef RESOLVE_H_NEEDS_NAMESER8_COMPAT_H ++#include <nameser8_compat.h> ++#endif + #include <resolv.h> + + /* prototypes */ diff --git a/mail/postfix/patches/patch-ag b/mail/postfix/patches/patch-ag index e2c6243ff45..6c4cd63b372 100644 --- a/mail/postfix/patches/patch-ag +++ b/mail/postfix/patches/patch-ag @@ -1,10 +1,12 @@ -$NetBSD: patch-ag,v 1.12 2004/06/21 16:13:24 martti Exp $ +$NetBSD: patch-ag,v 1.13 2004/08/10 16:49:47 schmonz Exp $ ---- src/util/sys_defs.h.orig 2004-06-14 21:13:40.000000000 +0300 -+++ src/util/sys_defs.h 2004-06-20 11:40:54.000000000 +0300 -@@ -127,8 +127,13 @@ +--- src/util/sys_defs.h.orig Tue Aug 10 02:27:04 2004 ++++ src/util/sys_defs.h +@@ -134,9 +134,15 @@ + #define DEF_DB_TYPE "hash" #define ALIAS_DB_MAP "hash:/etc/aliases" #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0) ++#define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H #define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin" +#if (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) /* NetBSD 2.0D */ +#define USE_STATVFS |