Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2003 02:22:20 -0700 (PDT)
From:      David Yeske <dyeske@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Lars.Koeller@Uni-Bielefeld.DE
Subject:   ports/52981: devel/ddd does not compile on HEAD
Message-ID:  <20030606092220.92768.qmail@web13505.mail.yahoo.com>
Resent-Message-ID: <200306060930.h569UB1D061898@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         52981
>Category:       ports
>Synopsis:       devel/ddd 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:   Fri Jun 06 02:30:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Yeske
>Release:        FreeBSD 5.1-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 <sys/param.h>
+#  if __FreeBSD_version < 500100
+extern int isnan ( double x );
+#  endif
+#endif
+#else
 extern int isnan ( double x );
 #endif







__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030606092220.92768.qmail>