r44975 - /packages/sundials/trunk/debian/patches/octave-sundialstb.patch

trophime-guest at users.alioth.debian.org trophime-guest at users.alioth.debian.org
Thu Jun 7 09:14:32 UTC 2012


Author: trophime-guest
Date: Thu Jun  7 09:14:31 2012
New Revision: 44975

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44975
Log:
update patch

Modified:
    packages/sundials/trunk/debian/patches/octave-sundialstb.patch

Modified: packages/sundials/trunk/debian/patches/octave-sundialstb.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/sundials/trunk/debian/patches/octave-sundialstb.patch?rev=44975&op=diff
==============================================================================
--- packages/sundials/trunk/debian/patches/octave-sundialstb.patch (original)
+++ packages/sundials/trunk/debian/patches/octave-sundialstb.patch Thu Jun  7 09:14:31 2012
@@ -1,7 +1,7 @@
-Index: sundials-2.4.0/sundialsTB/install_STB.m
+Index: sundials-2.5.0/sundialsTB/install_STB.m
 ===================================================================
---- sundials-2.4.0.orig/sundialsTB/install_STB.m	2011-11-16 14:42:09.000000000 +0100
-+++ sundials-2.4.0/sundialsTB/install_STB.m	2011-11-16 14:46:25.000000000 +0100
+--- sundials-2.5.0.orig/sundialsTB/install_STB.m	2012-03-21 23:47:00.000000000 +0100
++++ sundials-2.5.0/sundialsTB/install_STB.m	2012-06-07 10:47:47.000000000 +0200
 @@ -9,7 +9,7 @@
  % MEX compiler command
  % --------------------
@@ -11,7 +11,7 @@
  
  % Location of sundialsTB and top of sundials source tree
  % ------------------------------------------------------
-@@ -46,41 +46,11 @@
+@@ -46,48 +46,18 @@
  % Figure out what modules exist and which ones will be built
  % ----------------------------------------------------------
  
@@ -57,6 +57,14 @@
  
  % Create sundials_config.h
  % ------------------------
+ 
+ mkdir('sundials');
+ fi = fopen(fullfile('sundials','sundials_config.h'),'w');
+-fprintf(fi,'#define SUNDIALS_PACKAGE_VERSION "2.4.0"\n');
++fprintf(fi,'#define SUNDIALS_PACKAGE_VERSION "2.5.0"\n');
+ fprintf(fi,'#define SUNDIALS_DOUBLE_PRECISION 1\n');
+ fprintf(fi,'#define SUNDIALS_USE_GENERIC_MATH 1\n');
+ fprintf(fi,'#define SUNDIALS_EXPORT\n');
 @@ -117,17 +87,15 @@
  % ------------------
  




More information about the debian-science-commits mailing list