[SCM] yafaray/master: debian/patches/: #0002 added to disable FAST_MATH optimization

mfv-guest at users.alioth.debian.org mfv-guest at users.alioth.debian.org
Sat May 26 15:19:39 UTC 2012


The following commit has been merged in the master branch:
commit cb3dc4d6a4f00335ed90faa79bbe324e2ae3002c
Author: Matteo F. Vescovi <mfv.debian at gmail.com>
Date:   Sat May 26 16:17:34 2012 +0200

    debian/patches/: #0002 added to disable FAST_MATH optimization
    
    Actually, upstream is monitoring the implications
    of using FAST_MATH optimization.
    So, it was chosen to disable this feature in this
    release, hoping it will be defined soon.
    
    Git-Dch: Short

diff --git a/debian/patches/0002-Disable_FAST_MATH.patch b/debian/patches/0002-Disable_FAST_MATH.patch
new file mode 100644
index 0000000..b30004f
--- /dev/null
+++ b/debian/patches/0002-Disable_FAST_MATH.patch
@@ -0,0 +1,21 @@
+From: "Matteo F. Vescovi" <mfv.debian at gmail.com>
+Date: Sat, 26 May 2012 16:15:53 +0200
+Subject: Disable_FAST_MATH
+
+---
+ include/utilities/mathOptimizations.h |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/utilities/mathOptimizations.h b/include/utilities/mathOptimizations.h
+index b228851..9dbffc5 100644
+--- a/include/utilities/mathOptimizations.h
++++ b/include/utilities/mathOptimizations.h
+@@ -53,7 +53,7 @@
+ //# define M_SQRT2	1.41421356237309504880	/* sqrt(2) */
+ //# define M_SQRT1_2	0.70710678118654752440	/* 1/sqrt(2) */
+ 
+-#define FAST_MATH
++//#define FAST_MATH
+ #define FAST_TRIG
+ 
+ __BEGIN_YAFRAY
diff --git a/debian/patches/series b/debian/patches/series
index a650017..197c8fc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Fix_FTBFS_on_ARM.patch
+0002-Disable_FAST_MATH.patch

-- 
yafaray packaging



More information about the pkg-multimedia-commits mailing list