Subject: pkg/25979: rxvt fails to build on -current
To: None <gnats-bugs@gnats.NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: pkgsrc-bugs
Date: 06/20/2004 08:27:28
>Number:         25979
>Category:       pkg
>Synopsis:       rxvt fails to build on -current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 20 06:28:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        NetBSD 2.0F
>Organization:
>Environment:
System: NetBSD night-porter.duskware.de 2.0F NetBSD 2.0F (PORTER) #0: Fri Jun 11 09:39:58 CEST 2004 martin@night-porter.duskware.de:/usr/src/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
>Description:

The x11/rxvt pkg detects ptm on -current and blindly (eroneously) assumes
we should have a sys/stropts.h header.

gcc -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/X11R6/include -DHAVE_LIBXPM -O2 -pipe -I/usr/pkg/include -I/usr/X11R6/include -DDEBUG_STRICT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I.. -I. -I. -c ptytty.c -o ptytty.o
ptytty.c:50:48: sys/stropts.h: No such file or directory
*** Error code 1

The source says:
#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
# include <sys/stropts.h>      /* for I_PUSH */
#endif

>How-To-Repeat:

Try to build x11/rxvt on -current.

>Fix:
Add the missing autoconf magic.
>Release-Note:
>Audit-Trail:
>Unformatted: