Date: Sun, 23 Mar 1997 12:44:02 -0500 (EST) From: Matthew Hunt <mph@pobox.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/3068: Build of AfterStep fails; PI undefined Message-ID: <199703231744.MAA07387@wopr.ml.org> Resent-Message-ID: <199703231750.JAA16054@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 3068 >Category: ports >Synopsis: Build of AfterStep fails; PI undefined >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 23 09:50:01 PST 1997 >Last-Modified: >Originator: Matthew Hunt >Organization: none >Release: FreeBSD 2.2-RELEASE i386 >Environment: FreeBSD 2.2R, current ports collection. >Description: making all in ./modules/Animate... cc -m486 -O2 -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c Animate.c Animate.c: In function `AnimateResizeTwist': Animate.c:82: `PI' undeclared (first use this function) Animate.c:82: (Each undeclared identifier is reported only once Animate.c:82: for each function it appears in.) >How-To-Repeat: Build AfterStep. >Fix: Here's one way to fix it. Maybe another way is better. --- modules/Animate/Animate.c.orig Sun Mar 23 12:39:38 1997 +++ modules/Animate/Animate.c Sun Mar 23 12:40:15 1997 @@ -38,6 +38,10 @@ #include "../../lib/aftersteplib.h" #include "Animate.h" +#ifndef PI +#define PI 3.14159265359 +#endif + Display *dpy; int scr; Window root; >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703231744.MAA07387>