From owner-freebsd-current Thu Dec 26 10: 3:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72F3137B401 for ; Thu, 26 Dec 2002 10:03:58 -0800 (PST) Received: from mail-1.zoominternet.net (mail-1.zoominternet.net [63.67.120.5]) by mx1.FreeBSD.org (Postfix) with SMTP id C524A43EE5 for ; Thu, 26 Dec 2002 10:03:56 -0800 (PST) (envelope-from dmmiller@cvzoom.net) Received: (qmail 32612 invoked from network); 26 Dec 2002 17:53:46 -0000 Received: from unknown (HELO cvzoom.net) ([24.239.74.102]) (envelope-sender ) by mail-1.zoominternet.net (qmail-ldap-1.03) with SMTP for ; 26 Dec 2002 17:53:46 -0000 Message-ID: <3E0B422C.2000407@cvzoom.net> Date: Thu, 26 Dec 2002 12:53:48 -0500 From: Donn Miller User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current Subject: sa_handler and sigaction... Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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, does have a #define for sa_handler. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message