aboutsummaryrefslogtreecommitdiffstats
path: root/testing/chromium/chromium-c99math.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-05-06 08:18:45 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-05-06 08:19:15 -0500
commitb6c00fd50fb0e2166f1856e9813c512d6f20714f (patch)
treef656096a3b02cb41efa5504e2b8e66239cae96d6 /testing/chromium/chromium-c99math.patch
parentfab2389fa813a1d3d7441d733fd8adb2144d1cac (diff)
downloadaports-b6c00fd50fb0e2166f1856e9813c512d6f20714f.tar.bz2
aports-b6c00fd50fb0e2166f1856e9813c512d6f20714f.tar.xz
testing/chromium: new aport, not actually enabled on any architectures yet
Diffstat (limited to 'testing/chromium/chromium-c99math.patch')
-rw-r--r--testing/chromium/chromium-c99math.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/chromium/chromium-c99math.patch b/testing/chromium/chromium-c99math.patch
new file mode 100644
index 0000000000..37ed224c62
--- /dev/null
+++ b/testing/chromium/chromium-c99math.patch
@@ -0,0 +1,11 @@
+--- chromium-13.0.754.0.orig/base/float_util.h
++++ chromium-13.0.754.0/base/float_util.h
+@@ -19,7 +19,7 @@
+
+ inline bool IsFinite(const double& number) {
+ #if defined(OS_POSIX)
+- return finite(number) != 0;
++ return isfinite(number) != 0;
+ #elif defined(OS_WIN)
+ return _finite(number) != 0;
+ #endif