From b1ca8e68ae50fc3c980ae5f89e5da35262da0bba Mon Sep 17 00:00:00 2001 From: John Voltz Date: Thu, 6 Mar 2008 18:28:48 +0000 Subject: added webkit --- package/webkit/webkit-r30267-trunc.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/webkit/webkit-r30267-trunc.patch (limited to 'package/webkit/webkit-r30267-trunc.patch') diff --git a/package/webkit/webkit-r30267-trunc.patch b/package/webkit/webkit-r30267-trunc.patch new file mode 100644 index 000000000..0cc7ca255 --- /dev/null +++ b/package/webkit/webkit-r30267-trunc.patch @@ -0,0 +1,11 @@ +--- a/JavaScriptCore/wtf/MathExtras.h 2008-02-04 21:09:08.000000000 -0500 ++++ b/JavaScriptCore/wtf/MathExtras.h 2008-02-11 13:31:28.000000000 -0500 +@@ -75,6 +75,8 @@ inline bool signbit(double x) { return x + + #endif + ++inline double trunc(double num) { return num > 0 ? floor(num) : ceil(num); } ++ + #if COMPILER(MSVC) + + inline bool isinf(double num) { return !_finite(num) && !_isnan(num); } -- cgit v1.2.3