[libmatio] 11/14: d/p/manpage-errors.patch: new patch, fixes errors in manpages.

Sébastien Villemot sebastien at debian.org
Sun Jul 23 16:36:33 UTC 2017


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

sebastien pushed a commit to branch master
in repository libmatio.

commit 2dbc79a232faddea0beddd8622f8d3c654bacd7f
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Sun Jul 23 18:22:56 2017 +0200

    d/p/manpage-errors.patch: new patch, fixes errors in manpages.
---
 debian/patches/manpage-errors.patch | 59 +++++++++++++++++++++++++++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 60 insertions(+)

diff --git a/debian/patches/manpage-errors.patch b/debian/patches/manpage-errors.patch
new file mode 100644
index 0000000..022ad3d
--- /dev/null
+++ b/debian/patches/manpage-errors.patch
@@ -0,0 +1,59 @@
+Description: Fix errors in manpages.
+- Empty lines are not allowed, so remove them or replace them by a paragraph
+  start, depending on the context.
+- Lines starting with a dot (even escaped) are interpreted as a macro
+  invocation. Move the dot at the end of the previous line.
+Author: Sébastien Villemot <sebastien at debian.org>
+Forwarded: https://sourceforge.net/p/matio/patches/11/
+Last-Update: 2017-07-23
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/documentation/Mat_VarAddStructField.3
++++ b/documentation/Mat_VarAddStructField.3
+@@ -42,7 +42,6 @@ The
+ .Fn Mat_VarAddStructField
+ function adds a fieldname to the structure variable
+ .Fa matvar.
+-
+ .Sh RETURN VALUES
+ 0 is returned on success.
+ .Sh SEE ALSO
+--- a/documentation/Mat_VarCreate.3
++++ b/documentation/Mat_VarCreate.3
+@@ -62,13 +62,13 @@ class by using
+ .Dv MAT_T_INT32
+ for
+ .Fa data_type.
+-
++.Pp
+ The
+ .Fa rank
+ argument specifies how many dimensions the data has. The minimum rank is 2. The
+ number of elements in each dimension is specified in the array
+ .Fa dims.
+-
++.Pp
+ The
+ .Fa data
+ argument is a pointer to the variable data. The pointer is typically a pointer
+@@ -78,7 +78,6 @@ complex variables, the pointer is a poin
+ which contains pointers to the real and imaginary data as fields of the
+ structure. For sparse variables, the pointer should be a
+ .Vt mat_sparse_t *.
+-
+ .Sh RETURN VALUES
+ If the variable was successfully created, a pointer to the variable is returned.
+ Otherwise NULL is returned. The variable should be free'd when no longer needed
+--- a/documentation/Mat_VarCreateStruct.3
++++ b/documentation/Mat_VarCreateStruct.3
+@@ -50,8 +50,8 @@ that can be written to a MAT file.
+ If the structure variable was successfully created, a pointer to the variable
+ is returned. Otherwise NULL is returned. The structure variable pointer should
+ be free'd when no longer needed using
+-.Xr Mat_VarFree 3
+-\. The names of the fields are copied in the function, and thus should be released
++.Xr Mat_VarFree 3 .
++The names of the fields are copied in the function, and thus should be released
+ after calling the function if necessary.
+ .Sh EXAMPLES
+ This example program opens a MAT file named by the first argument to the
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..8d370a0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+manpage-errors.patch

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



More information about the debian-science-commits mailing list