From owner-freebsd-ports-bugs Mon Mar 24 8:10:21 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD41C37B404 for ; Mon, 24 Mar 2003 08:10:18 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2C9043F93 for ; Mon, 24 Mar 2003 08:10:16 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2OGAGNS096285 for ; Mon, 24 Mar 2003 08:10:16 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2OGAF4m096284; Mon, 24 Mar 2003 08:10:15 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76FA437B401 for ; Mon, 24 Mar 2003 08:02:37 -0800 (PST) Received: from web13506.mail.yahoo.com (web13506.mail.yahoo.com [216.136.175.85]) by mx1.FreeBSD.org (Postfix) with SMTP id CE24543F3F for ; Mon, 24 Mar 2003 08:02:36 -0800 (PST) (envelope-from dyeske@yahoo.com) Received: from [24.196.239.120] by web13506.mail.yahoo.com via HTTP; Mon, 24 Mar 2003 08:02:36 PST Message-Id: <20030324160236.99089.qmail@web13506.mail.yahoo.com> Date: Mon, 24 Mar 2003 08:02:36 -0800 (PST) From: David Yeske To: FreeBSD-gnats-submit@FreeBSD.org Cc: Lars.Koeller@Uni-Bielefeld.DE, Mario Subject: ports/50252: math/grace does not compile on HEAD X-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,PATCH_UNIFIED_DIFF,RESENT_TO autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 50252 >Category: ports >Synopsis: math/grace does not compile on HEAD >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 24 08:10:15 PST 2003 >Closed-Date: >Last-Modified: >Originator: David Yeske >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD aurora 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Thu Mar 6 18:42:07 EST 2003 root@aurora:/export/obj/usr/src/sys/AURORA i386 >Description: this patch is a workaround for "isnan" detection >How-To-Repeat: attempt to compile on HEAD In file included from mconf.h:70, from airy.c:59: ../cmath.h:173: syntax error before "sizeof" >Fix: http://pigseye.kennesaw.edu/~dyeske/freebsd/patch-cmath.h --- cmath.h.origTue Mar 7 17:26:42 2000 +++ cmath.hThu Feb 27 17:05:07 2003 @@ -170,5 +170,12 @@ #endif #ifndef HAVE_ISNAN_DECL +#ifdef __FreeBSD__ +# include +# if __FreeBSD_version < 500100 +extern int isnan ( double x ); +# endif +#endif +#else extern int isnan ( double x ); #endif __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message