pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48934: sysutils/hal fails to build on NetBSD 5.2 because of missing POSIX string.h function



The following reply was made to PR pkg/48934; it has been noted by GNATS.

From: "David H. Gutteridge" <dhgutteridge%sympatico.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48934: sysutils/hal fails to build on NetBSD 5.2 because of 
missing POSIX string.h function
Date: Sat, 21 Jun 2014 06:23:14 -0400

 On 2014-06-21, at 4:15 AM, Thomas Klausner wrote:
 > The following reply was made to PR pkg/48934; it has been noted by =
 GNATS.
 >=20
 > From: Thomas Klausner <wiz%NetBSD.org@localhost>
 > To: "David H.Gutteridge" <dhgutteridge%sympatico.ca@localhost>
 > Cc: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
 > Subject: Re: pkg/48934: sysutils/hal fails to build on NetBSD 5.2 =
 because of
 > missing POSIX string.h function
 > Date: Sat, 21 Jun 2014 10:11:17 +0200
 >=20
 > On Sat, Jun 21, 2014 at 08:05:00AM +0000, David H.Gutteridge wrote:
 >> The following correction fixes it for me. (It may come through
 >> garbled courtesy of Apple Mail, but the change is simple.)
 >=20
 > That patch enables strlen everywhere, because at least one of the
 > symbols will be undefined on every platform, and thus be smaller than
 > 800067 or 200202 or 1070.
 >=20
 > Try compiling:
 >=20
 > #if UNDEFINED_SYMBOL < 1
 > #error a
 > #else
 > #error b
 > #endif
 >=20
 > to see what I mean.
 >  Thomas
 
 So it's the addition of the bare __OpenBSD__ that's the problem,
 since it will evaluate to false and negate the whole line.
 
 Dave
 


Home | Main Index | Thread Index | Old Index