Subject: Re: get "SIGWINCH undefined" on new pkgsrc
To: Joel CARNAT <joel@carnat.net>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 10/21/2004 22:31:40
On Thu, Oct 21, 2004 at 03:37:10PM +0200, Joel CARNAT wrote:
> command.C: In member function `bool rxvt_term::cmd_parse()':
> command.C:2587: error: `SIGWINCH' undeclared (first use this function)
> command.C:2587: error: (Each undeclared identifier is reported only once for 
>    each function it appears in.)
> command.C:2587: error: `kill' undeclared (first use this function)

These two are in <signal.h>.

> command.C: In member function `FILE* rxvt_term::popen_printer()':
> command.C:2748: error: `popen' undeclared (first use this function)
> command.C: In member function `int rxvt_term::pclose_printer(FILE*)':
> command.C:2760: error: `pclose' undeclared (first use this function)

These two are in <stdio.h>.

Try adding
#include <signal.h>
#include <stdio.h>
in the appropriate file (and add a patch to the package).
 Thomas