[Pkg-octave-commit] [SCM] octave-vrml branch, master, updated. 798366118dd0392dce237b0f9e192e2656634257

Thomas Weber thomas.weber.mail at gmail.com
Wed Jul 22 16:09:52 UTC 2009


The following commit has been merged in the master branch:
commit 4739d675c3ed607fab4864cf0baeebe835ce1c55
Author: Thomas Weber <thomas.weber.mail at gmail.com>
Date:   Tue Jul 21 09:04:56 2009 +0200

    Add debian/patches/pass-tests-with-octave-3.2 for passing tests with Octave 3.2

diff --git a/debian/changelog b/debian/changelog
index eab729a..c42304c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ octave-vrml (1.0.10-1) UNRELEASED; urgency=low
 
   [ Thomas Weber ]
   * New upstream release
+  * debian/patches/pass-tests-with-octave-3.2: new patch, let's tests pass
+    with Octave 3.2; taken from upstream SVN
 
  -- Thomas Weber <thomas.weber.mail at gmail.com>  Tue, 21 Jul 2009 09:00:17 +0200
 
diff --git a/debian/patches/pass-tests-with-octave-3.2 b/debian/patches/pass-tests-with-octave-3.2
new file mode 100644
index 0000000..7b5259e
--- /dev/null
+++ b/debian/patches/pass-tests-with-octave-3.2
@@ -0,0 +1,15 @@
+Allow tests to pass with Octave 3.2
+This is upstream revision 6030
+--- a/inst/vrml_DirectionalLight.m
++++ b/inst/vrml_DirectionalLight.m
+@@ -42,8 +42,8 @@
+     end
+ 
+     body = [body,\
+-	    sprintf ("   %-20s   %s\n",key, 
+-		     sprintf (getfield (tpl,key), val))];
++	    sprintf("   %-20s   %s\n",key,
++		     sprintf(getfield (tpl,key), val))];
+   end
+ end
+ s = sprintf ("DirectionalLight { \n%s}\n", body);
diff --git a/debian/patches/series b/debian/patches/series
index 89821a7..6a0fdcb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+pass-tests-with-octave-3.2
 whitedune_for_freewrl

-- 
octave-vrml



More information about the Pkg-octave-commit mailing list