ports/52981: devel/ddd does not compile on HEAD
David Yeske
dyeske at yahoo.com
Fri Jun 6 09:30:13 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list