[gap-guava] 04/08: Imported Debian patch 3.6-2

Jerome Benoit calculus-guest at moszumanska.debian.org
Thu Sep 11 20:58:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

calculus-guest pushed a commit to branch master
in repository gap-guava.

commit 5be191ba0696d7827a38b74d8c194af1ccc93d6f
Author: Tim Abbott <tabbott at mit.edu>
Date:   Fri Jul 25 19:55:27 2008 -0400

    Imported Debian patch 3.6-2
---
 debian/changelog                     |  6 ++++++
 debian/patches/hadamard-bugfix.patch | 12 ++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1843f9b..57dad0c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+guava (3.6-2) unstable; urgency=low
+
+  * Fix bug in HadamardMat on power of 2 inputs.
+
+ -- Tim Abbott <tabbott at mit.edu>  Fri, 25 Jul 2008 19:55:27 -0400
+
 guava (3.6-1) unstable; urgency=low
 
   * Initial release (Closes: #480099).
diff --git a/debian/patches/hadamard-bugfix.patch b/debian/patches/hadamard-bugfix.patch
new file mode 100644
index 0000000..59e6cd3
--- /dev/null
+++ b/debian/patches/hadamard-bugfix.patch
@@ -0,0 +1,12 @@
+diff -ur /tmp/guava-3.6/lib/matrices.gi foo/guava3.6/lib/matrices.gi
+--- a/lib/matrices.gi	2008-06-20 16:14:59.000000000 -0400
++++ b/lib/matrices.gi	2008-06-28 14:54:56.000000000 -0400
+@@ -157,6 +157,8 @@
+     local result, had, i, j, N;
+     if n mod 2 = 0 then 
+         N:=n/2; 
++    elif n = 1 then
++        N :=1;
+     else
+         Error("The Hadamard matrix of order ",n," does not exist");
+     fi;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ed60ae2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+hadamard-bugfix.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gap-guava.git



More information about the debian-science-commits mailing list