Subject: Re: pkg/31952 postfix 2.2.5 does not build on 2.1-RELEASE
To: None <martti@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: pkgsrc-bugs
Date: 11/11/2005 07:27:01
The following reply was made to PR pkg/31952; it has been noted by GNATS.

From: Martti Kuparinen <martti.kuparinen@iki.fi>
To: gnats-bugs@netbsd.org
Cc: martti@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/31952 postfix 2.2.5 does not build on 2.1-RELEASE
Date: Fri, 11 Nov 2005 09:25:59 +0200 (EET)

 Does this new patch-ag fix the problems?
 
 
 $NetBSD: patch-ag,v 1.16 2005/09/06 08:10:58 abs Exp $
 
 --- 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
   #define ROOT_PATH	"/bin:/usr/bin:/sbin:/usr/sbin"
 +#if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900) /* NetBSD 2.99.9 */
 +#define USE_STATVFS
 +#define STATVFS_IN_SYS_STATVFS_H
 +#else
   #define USE_STATFS
   #define STATFS_IN_SYS_MOUNT_H
 +#endif
   #define HAS_POSIX_REGEXP