diff options
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/clutter/clutter-box2d/isfinite.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-graphics/clutter/clutter-box2d/isfinite.patch b/meta/recipes-graphics/clutter/clutter-box2d/isfinite.patch index 94b1e32960..bcdbe24d06 100644 --- a/meta/recipes-graphics/clutter/clutter-box2d/isfinite.patch +++ b/meta/recipes-graphics/clutter/clutter-box2d/isfinite.patch | |||
@@ -9,11 +9,11 @@ Index: clutter-box2d-0.10.0/box2d/Source/Common/b2Math.h | |||
9 | --- clutter-box2d-0.10.0.orig/box2d/Source/Common/b2Math.h 2008-12-16 06:42:10.000000000 -0800 | 9 | --- clutter-box2d-0.10.0.orig/box2d/Source/Common/b2Math.h 2008-12-16 06:42:10.000000000 -0800 |
10 | +++ clutter-box2d-0.10.0/box2d/Source/Common/b2Math.h 2011-07-20 16:41:02.046430743 -0700 | 10 | +++ clutter-box2d-0.10.0/box2d/Source/Common/b2Math.h 2011-07-20 16:41:02.046430743 -0700 |
11 | @@ -60,7 +60,7 @@ | 11 | @@ -60,7 +60,7 @@ |
12 | #ifdef _MSC_VER | 12 | #ifdef _MSC_VER |
13 | return _finite(x) != 0; | 13 | return _finite(x) != 0; |
14 | #else | 14 | #else |
15 | - return finite(x) != 0; | 15 | - return finite(x) != 0; |
16 | + return std::isfinite(x) != 0; | 16 | + return std::isfinite(x) != 0; |
17 | #endif | 17 | #endif |
18 | } | 18 | } |
19 | 19 | ||