Just tried compiling the mgv port on current. It bombs out with the following error message:

Making all in toolbar
cc -DPACKAGE=\"mgv\" -DVERSION=\"3.1.5\" -DHAVE_PUTENV=0 -DUSE_DMALLOC=0 -DHAVE_XPM=1 -DHAVE_X11_XPM_H=1 -DHAVE_MOTIF=1 -DHAVE_LIBHELP=0 -DHAVE_EDITRES=1  -I. -I. -I. -Iwlib -I/usr/X11R6/include -O2 -Os -pipe -march=pentium3 -D_POSIX_SOURCE  -I/usr/X11R6/include -c Ghostview.c
Ghostview.c: In function `Input':
Ghostview.c:487: structure has no member named `sa_handler'
Ghostview.c: In function `StopInterpreter':
Ghostview.c:1529: structure has no member named `sa_handler'
*** Error code 1

Stop in /usr/ports/print/mgv/work/mgv-3.1.5.
*** Error code 1

Stop in /usr/ports/print/mgv.
Here is the relevant portions of Ghostview.c:

static void
Input(XtPointer client_data, int *source, XtInputId *id)
{
	Widget		w   = (Widget)client_data;
	int		bytes_written;
	struct sigaction	sa, osa;

	USEUP(id); USEUP(source);

	memset((void *)&sa,  '\0', sizeof(sa));
	memset((void *)&osa, '\0', sizeof(osa));
	sa.sa_handler = CatchPipe;
	sigemptyset(&sa.sa_mask);
It looks like it should compile, but it doesn't. I mean, <sys/signal.h> does have a #define for sa_handler.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to