[Pkg-octave-commit] [octave] 03/06: missing-example.diff: drop patch, no longer needed.
Sébastien Villemot
sebastien at moszumanska.debian.org
Sun Dec 22 15:23:33 UTC 2013
This is an automated email from the git hooks/post-receive script.
sebastien pushed a commit to branch master
in repository octave.
commit 6b7efbc306146ddb14704e4c0ee5542059850e4b
Author: Sébastien Villemot <sebastien at debian.org>
Date: Sun Dec 22 11:24:57 2013 +0100
missing-example.diff: drop patch, no longer needed.
---
debian/patches/missing-example.diff | 43 -------------------------------------
debian/patches/series | 1 -
2 files changed, 44 deletions(-)
diff --git a/debian/patches/missing-example.diff b/debian/patches/missing-example.diff
deleted file mode 100644
index 298f066..0000000
--- a/debian/patches/missing-example.diff
+++ /dev/null
@@ -1,43 +0,0 @@
-Description: Add a file omitted in upstream tarball
- A fix has been applied upstream so that it does not occur with next release
- candidate: http://hg.savannah.gnu.org/hgweb/octave/rev/4772cf56e366
-Author: Sébastien Villemot <sebastien at debian.org>
-Last-Update: 2013-12-11
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- /dev/null
-+++ b/examples/standalonebuiltin.cc
-@@ -0,0 +1,33 @@
-+#include <iostream>
-+#include <octave/oct.h>
-+#include <octave/builtin-defun-decls.h>
-+
-+int
-+main (void)
-+{
-+
-+ int n = 2;
-+ Matrix a_matrix = Matrix (n, n);
-+
-+ for (octave_idx_type i = 0; i < n; i++)
-+ for (octave_idx_type j = 0; j < n; j++)
-+ a_matrix(i,j) = (i + 1) * 10 + (j + 1);
-+
-+ std::cout << "This is a matrix:"
-+ << std::endl
-+ << a_matrix
-+ << std::endl;
-+
-+ octave_value_list in;
-+ in(0) = a_matrix;
-+
-+ octave_value_list out = Fnorm (in, 1);
-+ double norm_of_the_matrix = out(0).double_value ();
-+
-+ std::cout << "This is the norm of the matrix:"
-+ << std::endl
-+ << norm_of_the_matrix
-+ << std::endl;
-+
-+ return 0;
-+}
diff --git a/debian/patches/series b/debian/patches/series
index a0fbd02..eb5b312 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,4 +6,3 @@ no_pdf_in_print.diff
add_info_dir_categories
drop_version_from_mkoctfile_function_call
mkoctfile-mpi.diff
-missing-example.diff
--
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave.git
More information about the Pkg-octave-commit
mailing list