diff options
Diffstat (limited to 'packages/gtk-webcore/files/libm.patch')
-rw-r--r-- | packages/gtk-webcore/files/libm.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/gtk-webcore/files/libm.patch b/packages/gtk-webcore/files/libm.patch index e69de29bb2..b0c0cc6af2 100644 --- a/packages/gtk-webcore/files/libm.patch +++ b/packages/gtk-webcore/files/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.]) |