Subject: Re: pkg/21489: rxvt doesn't build on 1.6R
To: None <gcw@rxvt.org>
From: Havard Eidnes <he@uninett.no>
List: netbsd-bugs
Date: 05/07/2003 13:08:59
> Why doesn't patch-ae work?  It checks against your NetBSD version.

Don't quite know (yet)...

> What's your <sys/param.h> claiming as it's __NetBSD_Version__

It says:

#define __NetBSD_Version__      106180000       /* NetBSD 1.6R */

and the code in patch-ae does:

+
+/* lastlogx support is incomplete on the NetBSD 1.6-branch  -- disable it */
+#ifdef __NetBSD__
+# include <sys/param.h>
+# if __NetBSD_Version__ >= 106000000 && __NetBSD_Version__ < 106010000
+#  undef HAVE_STRUCT_LASTLOGX
+# endif
+#endif
+

So...  It seems that the lastlogx support is incomplete also in
NetBSD-current.  Locally mending the #if above to also cover 1.6R's
version number made rxvt compile and install.

Regards,

- Havard