From 245bbdc03d60d02f845909104ca7754c36e58561 Mon Sep 17 00:00:00 2001 From: martti Date: Sat, 12 Nov 2005 05:19:24 +0000 Subject: Make this compile on NetBSD 2.1. Does not affect other versions so no version bump. Fixes pkg/31952. --- mail/postfix/distinfo | 4 ++-- mail/postfix/patches/patch-ag | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) (limited to 'mail/postfix') diff --git a/mail/postfix/distinfo b/mail/postfix/distinfo index c5399e9ec64..46e8cd022f6 100644 --- a/mail/postfix/distinfo +++ b/mail/postfix/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.90 2005/10/13 13:06:38 joerg Exp $ +$NetBSD: distinfo,v 1.91 2005/11/12 05:19:24 martti Exp $ SHA1 (postfix/postfix-2.2.5.tar.gz) = 5e86340e6ccff5a9141c259a6b65f72b7396483d RMD160 (postfix/postfix-2.2.5.tar.gz) = 5508f9662319e655daf8ec8b70fb508f0bb15bb0 @@ -6,5 +6,5 @@ Size (postfix/postfix-2.2.5.tar.gz) = 2428594 bytes SHA1 (patch-aa) = 49d2bf6c7e5bbe5aac4d950ac69c7b6b32a98ef3 SHA1 (patch-ab) = c506a08b694f94ef4884fa97eec51e44c92812dd SHA1 (patch-ac) = ffcd4f8b00c1cf01f050a0c943bfe61a1ec2361a -SHA1 (patch-ag) = 7e992130da8b450c72d40c20c50d87840261d59d +SHA1 (patch-ag) = fec766c4172e39a26aabb53fc10f4f7a97d47f8b SHA1 (patch-ai) = d3ea006bafb5e9df869fbb2dec8c7f53b160c8e0 diff --git a/mail/postfix/patches/patch-ag b/mail/postfix/patches/patch-ag index ab6b2378019..841744afc60 100644 --- a/mail/postfix/patches/patch-ag +++ b/mail/postfix/patches/patch-ag @@ -1,7 +1,17 @@ -$NetBSD: patch-ag,v 1.16 2005/09/06 08:10:58 abs Exp $ +$NetBSD: patch-ag,v 1.17 2005/11/12 05:19:24 martti Exp $ ---- src/util/sys_defs.h.orig 2005-02-04 02:07:44.000000000 +0200 -+++ src/util/sys_defs.h 2005-04-04 20:55:05.000000000 +0300 +--- src/util/sys_defs.h.orig 2005-07-11 23:00:38.000000000 +0300 ++++ src/util/sys_defs.h 2005-11-11 06:01:49.000000000 +0200 +@@ -52,3 +52,3 @@ + #define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin" +-#if (defined(__NetBSD_Version__) && __NetBSD_Version__ > 200040000) ++#if (defined(__NetBSD_Version__) && __NetBSD_Version__ > 299000900) + # define USE_STATVFS +@@ -124,3 +124,3 @@ + +-#if __NetBSD_Version__ >= 200060000 /* 2.0F */ ++#if __NetBSD_Version__ >= 299000900 /* 2.99.9 */ + #define HAS_CLOSEFROM @@ -157,5 +157,11 @@ #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0) +#define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H -- cgit v1.2.3