diff options
Diffstat (limited to 'recipes/gtk-webcore/osb-jscore-0.5.0/libm.patch')
-rw-r--r-- | recipes/gtk-webcore/osb-jscore-0.5.0/libm.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/gtk-webcore/osb-jscore-0.5.0/libm.patch b/recipes/gtk-webcore/osb-jscore-0.5.0/libm.patch new file mode 100644 index 0000000000..b0c0cc6af2 --- /dev/null +++ b/recipes/gtk-webcore/osb-jscore-0.5.0/libm.patch @@ -0,0 +1,13 @@ +Index: osb-jscore-0.5.0/configure.in +=================================================================== +--- osb-jscore-0.5.0.orig/configure.in 2004-10-18 11:39:43.000000000 -0400 ++++ osb-jscore-0.5.0/configure.in 2005-02-02 17:36:36.551550088 -0500 +@@ -18,6 +18,8 @@ + AC_CHECK_HEADERS(string.h strings.h float.h) + + ++# isnan & friends generally come from libm, so link to it if its available ++AC_CHECK_LIB(m, sin) + + AC_CHECK_FUNCS(isnan,[ + AC_DEFINE(HAVE_FUNC_ISNAN,[],[Define to 1 if you have isnan function.]) |