[Pkg-octave-commit] [SCM] Debian packaging for octave-vrml branch, master, updated. debian/1.0.11-2-8-g223d6c2
Rafael Laboissiere
rafael at laboissiere.net
Wed May 30 20:43:54 UTC 2012
The following commit has been merged in the master branch:
commit 0ed1e9ea9d45a57003bf344857e4b5ea8accaab9
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date: Wed May 30 19:52:29 2012 +0000
debian/patches/structure_initialization: New patch
diff --git a/debian/patches/series b/debian/patches/series
index b20675d..6a88ad7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ remove_broken_files
remove_unused_files
whitedune_for_freewrl
order_boolean_operation
+structure_initialization
diff --git a/debian/patches/structure_initialization b/debian/patches/structure_initialization
new file mode 100644
index 0000000..494f448
--- /dev/null
+++ b/debian/patches/structure_initialization
@@ -0,0 +1,22 @@
+Description: Fix structure initialization
+Author: Rafael Laboissiere <rafael at laboissiere.net>
+Last-Update: 2012-05-30
+
+--- octave-vrml-1.0.11.orig/inst/vrml_DirectionalLight.m
++++ octave-vrml-1.0.11/inst/vrml_DirectionalLight.m
+@@ -18,12 +18,10 @@
+
+ function s = vrml_DirectionalLight (varargin) # pos 2.1.39
+
+-
+ hash = struct (); # pos 2.1.39
+-
+-
+-if nargin, hash = setfield(hash,varargin{:}); end # pos 2.1.39
+-## hash = rmfield (hash, "dummy");
++for k=1:2:nargin,
++ hash = setfield(hash,varargin{k},varargin{k+1});
++end
+
+ tpl = struct ("ambientIntensity", "%8.3f",\
+ "intensity", "%8.3f",\
--
Debian packaging for octave-vrml
More information about the Pkg-octave-commit
mailing list