From e4c0b83d575698997d621de05ea7f3f7854e51e9 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 5 Aug 2011 15:07:38 +0200 Subject: let it compile for uClibc builds --- package/firefox/patches/patch-xpcom_ds_nsMathUtils_h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/firefox/patches/patch-xpcom_ds_nsMathUtils_h (limited to 'package/firefox/patches/patch-xpcom_ds_nsMathUtils_h') diff --git a/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h b/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h new file mode 100644 index 000000000..7c5b42fb6 --- /dev/null +++ b/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h @@ -0,0 +1,11 @@ +--- mozilla-release.orig/xpcom/ds/nsMathUtils.h 2011-07-08 03:15:44.000000000 +0200 ++++ mozilla-release/xpcom/ds/nsMathUtils.h 2011-08-01 14:40:58.343424403 +0200 +@@ -170,7 +170,7 @@ inline NS_HIDDEN_(bool) NS_finite(double + // NOTE: '!!' casts an int to bool without spamming MSVC warning C4800. + return !!_finite(d); + #else +- return finite(d); ++ return isfinite(d); + #endif + } + -- cgit v1.2.3