Patchwork [CONSOLIDATED,PULL,12/20] clutter-box2d: fix isfinite.patch

login
register
mail settings
Submitter Saul Wold
Date July 21, 2011, 7:53 a.m.
Message ID <9c674daedaaad3a78b094510a6f914c1720d098d.1311234475.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/8153/
State New, archived
Headers show

Comments

Saul Wold - July 21, 2011, 7:53 a.m.
The original patch lost ^M and was not appliable.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../clutter/clutter-box2d/isfinite.patch           |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

Patch

diff --git a/meta/recipes-graphics/clutter/clutter-box2d/isfinite.patch b/meta/recipes-graphics/clutter/clutter-box2d/isfinite.patch
index fd2bf74..bcdbe24 100644
--- a/meta/recipes-graphics/clutter/clutter-box2d/isfinite.patch
+++ b/meta/recipes-graphics/clutter/clutter-box2d/isfinite.patch
@@ -7,13 +7,13 @@  Upstream-Status: Pending
 Index: clutter-box2d-0.10.0/box2d/Source/Common/b2Math.h
 ===================================================================
 --- clutter-box2d-0.10.0.orig/box2d/Source/Common/b2Math.h	2008-12-16 06:42:10.000000000 -0800
-+++ clutter-box2d-0.10.0/box2d/Source/Common/b2Math.h	2011-07-17 02:10:29.833825198 -0700
++++ clutter-box2d-0.10.0/box2d/Source/Common/b2Math.h	2011-07-20 16:41:02.046430743 -0700
 @@ -60,7 +60,7 @@
- #ifdef _MSC_VER
- 	return _finite(x) != 0;
- #else
--	return finite(x) != 0;
-+	return std::isfinite(x) != 0;
- #endif
- }
- 
+ #ifdef _MSC_VER
+ 	return _finite(x) != 0;
+ #else
+-	return finite(x) != 0;
++	return std::isfinite(x) != 0;
+ #endif
+ }
+