r35663 - in /packages/scilab/trunk/debian: changelog patches/fpu_control.diff

sylvestre-guest at users.alioth.debian.org sylvestre-guest at users.alioth.debian.org
Tue Apr 21 11:55:59 UTC 2009


Author: sylvestre-guest
Date: Tue Apr 21 11:55:59 2009
New Revision: 35663

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35663
Log:
Add a patch to use only fpu_control under Linux & x86 (fpu_control.diff)

Added:
    packages/scilab/trunk/debian/patches/fpu_control.diff
Modified:
    packages/scilab/trunk/debian/changelog

Modified: packages/scilab/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab/trunk/debian/changelog?rev=35663&op=diff
==============================================================================
--- packages/scilab/trunk/debian/changelog (original)
+++ packages/scilab/trunk/debian/changelog Tue Apr 21 11:55:59 2009
@@ -6,7 +6,8 @@
     displayStack.diff xmlCleanupParser.diff removed. Applied upstream)
 
   [ Sylvestre Ledru ]
-  * Add a patch to manage powerpc detection of the JVM
+  * Add a patch to manage powerpc detection of the JVM (jvm-powerpc.diff)
+  * Add a patch to use only fpu_control under Linux & x86 (fpu_control.diff)
 
  -- Sylvestre Ledru <sylvestre.ledru at inria.fr>  Sun, 19 Apr 2009 16:42:49 +0200
 

Added: packages/scilab/trunk/debian/patches/fpu_control.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab/trunk/debian/patches/fpu_control.diff?rev=35663&op=file
==============================================================================
--- packages/scilab/trunk/debian/patches/fpu_control.diff (added)
+++ packages/scilab/trunk/debian/patches/fpu_control.diff Tue Apr 21 11:55:59 2009
@@ -1,0 +1,19 @@
+commit 4c755b187d24146d11f4c8a1f16c9d2eebbfa200
+Author: Sylvestre Ledru <sylvestre.ledru at scilab.org>
+Date:   Tue Apr 21 13:51:16 2009 +0200
+
+    Only activate under Linux / X86
+
+diff --git a/scilab/modules/core/src/c/setPrecisionFPU.c b/scilab/modules/core/src/c/setPrecisionFPU.c
+index 351809e..438c325 100644
+--- a/scilab/modules/core/src/c/setPrecisionFPU.c
++++ b/scilab/modules/core/src/c/setPrecisionFPU.c
+@@ -11,7 +11,7 @@
+  */
+ /*--------------------------------------------------------------------------*/
+ 
+-#if defined(linux) && ! defined(IS_64_BITS_CPU)
++#if defined(linux) && defined(__i386__)
+ #include <fpu_control.h>
+ #include "setPrecisionFPU.h"
+ /*




More information about the debian-science-commits mailing list