Subject: Re: pkg/31570: sysutils/bacula update to 1.36.3
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Klausner <wiz@NetBSD.org>
List: pkgsrc-bugs
Date: 10/12/2005 19:40:01
The following reply was made to PR pkg/31570; it has been noted by GNATS.

From: Thomas Klausner <wiz@NetBSD.org>
To: Geert Hendrickx <ghen@telenet.be>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/31570: sysutils/bacula update to 1.36.3
Date: Wed, 12 Oct 2005 21:39:03 +0200

 On Wed, Oct 12, 2005 at 07:30:00PM +0000, Geert Hendrickx wrote:
 > One patch was added (patch-ag), because this version uses statvfs(2),
 > which NetBSD 2.0.x doesn't have.  Simply replacing it with statfs(2)
 > works nicely.  
 
 But, sadly, is the wrong solution, since this will break the build
 on 3.x. It should be a configure test and an appropriate #ifdef in
 the code... Does the bacula configure script already check for it?
 If not, plan b (actually, a hack) is to add #ifdefs for older NetBSD
 versions which only support statfs; see for example
 sysutils/coreutils/patches/patch-ab.
 
 Cheers,
  Thomas