Subject: openmotif builds on 3.0 but not on -current
To: None <tech-pkg@netbsd.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: tech-pkg
Date: 01/08/2006 09:02:49
With up-to-date pkgsrc (from HEAD), I can't build x11/openmotif on a 
-current machine:

Xmos.c: In function `GetQualifiedDir':
Xmos.c:279: error: too few arguments to function `getpwnam_r'
Xmos.c: In function `XmeGetHomeDirName':
Xmos.c:1037: error: too few arguments to function `getpwnam_r'
Xmos.c:1041: error: too few arguments to function `getpwuid_r'

However, it built properly on my 3.0 machines.

getpwnam_r and getpwuid_r are invoked by wrapper macros; these in turn 
are defined somewhere in a complex maze of #ifdefs in Xmos_r.h.  I 
haven't figured out why it's yield different results on -current.

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb