Patch to fix build failures of lang/ici port on 5-CURRENT. Note this is UNTESTED (my 5-CURRENT machine disappeared last week) but the same fix was required on other gcc 3.x using platforms (Mac OS X) and I am assuming it will repair the brokeness. How-To-Repeat: Patch the port as follows, adds a files/patch-conf-bsd.h file to supply a necessary include to pick up the real float_t prior to ICI defining its float_t. diff -x CVS -PNru /usr/ports/lang/ici/files/patch-conf-bsd.h ./files/patch-conf-bsd.h --- /usr/ports/lang/ici/files/patch-conf-bsd.h Thu Jan 1 10:00:00 1970 +++ ./files/patch-conf-bsd.h Tue May 20 07:14:24 2003 @@ -0,0 +1,10 @@ +--- old-conf-bsd.h Tue May 20 07:13:49 2003 ++++ conf-bsd.h Tue May 20 07:13:58 2003 +@@ -1,6 +1,7 @@ + #ifndef ICI_CONF_H + #define ICI_CONF_H + ++#include <math.h> + #include <sys/param.h> + #undef isset +
State Changed From-To: open->feedback This still doesn't compile for me on -CURRENT http://people.freebsd.org/~erwin/ici.log
State Changed From-To: feedback->closed The patch didn't work but the post-patch in the Makefile solved it. Please contact the author of the program, saying that float_t in his code should be replaced by floats_t to a. keep it consequent with the rest and b. keep it compilable on freebsd (and other sysems)
I am one of the authors and it's been fixed in v4 of ICI for some time. A port of v4 needs to be done. -- Andy Newman