tech-pkg archive

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

Re: Proposed patch for libnbcompat to improve support of OpenBSD, Interix and Haiku



Take 2.

On Sat, 16 Jan 2010 22:44:54 +0900, OBATA Akio <obache%netbsd.org@localhost> 
wrote:

Attached patch is acceptable? any comments?

1. kill __weak_alias in db1 part, same as other part in libnbcompat. (PR#42102, 
for OpenBSD)

removed this part.

2. No NBBY in Haiku, define as 8 in files/nbcompat/db.h.
3. check libntework for socket in configure (Haiku)
3. check endian.h in configure and use it in files/nbcompat/endian.h (Haiku)
4. check optarg same as optind, it is used in files/nbcompat/unistd.h, but 
never checked.

not changed.

5. check optreset with getopt.h in configure, include getopt.h in 
files/nbcompat/getopt.h,
    and guard redefinitions, for Interix-6.0 (PR#42379).

Changed.
check optreset without getopt.h first, if failed, try to check with getopt.h.
if optreset is in getopt.h, define optreset in nbcompat/unistd.h, and not 
touched nbcomat/getopt.h.
because some packages expect that it is in unistd.h.

--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost

Attachment: patch-v2.diff
Description: Binary data



Home | Main Index | Thread Index | Old Index