[Pkg-ofed-commits] [libibumad] 05/07: Fix undefined macro in man pages

Benjamin Drung bdrung at moszumanska.debian.org
Fri Aug 19 08:58:07 UTC 2016


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

bdrung pushed a commit to branch master
in repository libibumad.

commit acf1fbd6ce70b878f235f0e60069a051aa45883a
Author: Benjamin Drung <benjamin.drung at profitbricks.com>
Date:   Fri Aug 19 10:52:46 2016 +0200

    Fix undefined macro in man pages
    
    Some man pages have errors from man that the macro `nl' is not defined.
    Use the `br' macro instead.
    
    To test this for yourself you can use the following command:
    
        LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 \
            man --warnings -E UTF-8 -l -Tutf8 -Z <file> >/dev/null
---
 debian/patches/fix-undefined-macro-in-man.patch | 43 +++++++++++++++++++++++++
 debian/patches/series                           |  1 +
 2 files changed, 44 insertions(+)

diff --git a/debian/patches/fix-undefined-macro-in-man.patch b/debian/patches/fix-undefined-macro-in-man.patch
new file mode 100644
index 0000000..88600e2
--- /dev/null
+++ b/debian/patches/fix-undefined-macro-in-man.patch
@@ -0,0 +1,43 @@
+Description: Fix undefined macro in man pages
+ Some man pages have errors from man that the macro `nl' is not defined.
+ Use the `br' macro instead.
+ .
+ To test this for yourself you can use the following command:
+ .
+     LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 \
+         man --warnings -E UTF-8 -l -Tutf8 -Z <file> >/dev/null
+Author: Benjamin Drung <benjamin.drung at profitbricks.com>
+
+--- a/man/umad_get_ca.3
++++ b/man/umad_get_ca.3
+@@ -8,7 +8,7 @@
+ .B #include <infiniband/umad.h>
+ .sp
+ .BI "int umad_get_ca(char " "*ca_name" ", umad_ca_t " "*ca" );
+-.nl
++.br
+ .BI "int umad_release_ca(umad_ca_t " "*ca" );
+ .fi
+ .SH "DESCRIPTION"
+--- a/man/umad_get_port.3
++++ b/man/umad_get_port.3
+@@ -8,7 +8,7 @@
+ .B #include <infiniband/umad.h>
+ .sp
+ .BI "int umad_get_port(char " "*ca_name" ", int " "portnum" ", umad_port_t " "*port" );
+-.nl
++.br
+ .BI "int umad_release_port(umad_port_t " "*port" );
+ .fi
+ .SH "DESCRIPTION"
+--- a/man/umad_init.3
++++ b/man/umad_init.3
+@@ -8,7 +8,7 @@
+ .B #include <infiniband/umad.h>
+ .sp
+ .BI "int umad_init(void);
+-.nl
++.br
+ .BI "int umad_done(void);
+ .fi
+ .SH "DESCRIPTION"
diff --git a/debian/patches/series b/debian/patches/series
index 1a200bb..0f2eb87 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-pass-foreign-to-automake.patch
+fix-undefined-macro-in-man.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/libibumad.git



More information about the Pkg-ofed-commits mailing list