From 1735ec5320e833927d288b456b5406caa9cb944f Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Sat, 12 Jan 2013 16:58:37 +0000 Subject: Upgrade to version 9.1.1, with amd64 support. The configure script is not able to detect some functions from fenv.h, possibly because it does not use "#pragma STDC FENV_ACCESS ON", which is used in the actual code. If you know of a way to make configure work without hacking config.h.in, suggestions are welcome. --- lang/mit-scheme/files/patch-microcode_config.h.in | 47 +++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 lang/mit-scheme/files/patch-microcode_config.h.in (limited to 'lang/mit-scheme/files/patch-microcode_config.h.in') diff --git a/lang/mit-scheme/files/patch-microcode_config.h.in b/lang/mit-scheme/files/patch-microcode_config.h.in new file mode 100644 index 000000000000..7736155e22a2 --- /dev/null +++ b/lang/mit-scheme/files/patch-microcode_config.h.in @@ -0,0 +1,47 @@ + +$FreeBSD$ + +--- microcode/config.h.in.orig ++++ microcode/config.h.in +@@ -86,7 +86,7 @@ + #undef HAVE_FDATASYNC + + /* Define to 1 if you have the `feclearexcept' function. */ +-#undef HAVE_FECLEAREXCEPT ++#define HAVE_FECLEAREXCEPT 1 + + /* Define to 1 if you have the `fedisableexcept' function. */ + #undef HAVE_FEDISABLEEXCEPT +@@ -101,10 +101,10 @@ + #undef HAVE_FEGETEXCEPT + + /* Define to 1 if you have the `fegetexceptflag' function. */ +-#undef HAVE_FEGETEXCEPTFLAG ++#define HAVE_FEGETEXCEPTFLAG 1 + + /* Define to 1 if you have the `fegetround' function. */ +-#undef HAVE_FEGETROUND ++#define HAVE_FEGETROUND 1 + + /* Define to 1 if you have the `feholdexcept' function. */ + #undef HAVE_FEHOLDEXCEPT +@@ -119,16 +119,16 @@ + #undef HAVE_FERAISEEXCEPT + + /* Define to 1 if you have the `fesetenv' function. */ +-#undef HAVE_FESETENV ++#define HAVE_FESETENV 1 + + /* Define to 1 if you have the `fesetexceptflag' function. */ + #undef HAVE_FESETEXCEPTFLAG + + /* Define to 1 if you have the `fesetround' function. */ +-#undef HAVE_FESETROUND ++#define HAVE_FESETROUND 1 + + /* Define to 1 if you have the `fetestexcept' function. */ +-#undef HAVE_FETESTEXCEPT ++#define HAVE_FETESTEXCEPT 1 + + /* Define to 1 if you have the `feupdateenv' function. */ + #undef HAVE_FEUPDATEENV -- cgit v1.2.3