# Source: Description: docbook2man should translate the NAME section according to the REFENTRY's lang attribute Currently, docbook2man translates the NAME section according to the lang attribute provided to the REFNAMEDIV tag. When a lang attribute is specified in the REFENTRY tag and no lang attribute is specified with the REFNAMEDIV, the lang attribute of the REFENTRY should be used. Author: Nicolas François Forwarded: not-needed Bug-Debian: http://bugs.debian.org/394511 Index: docbook-utils-0.6.14/helpers/docbook2man-spec.pl =================================================================== --- docbook-utils-0.6.14.orig/helpers/docbook2man-spec.pl 2012-05-09 18:55:53.276783163 +0200 +++ docbook-utils-0.6.14/helpers/docbook2man-spec.pl 2012-05-09 18:58:04.792778418 +0200 @@ -359,11 +359,14 @@ # NAME section man_sgml('', sub { my %words = qw( fr NOM es NOMBRE de NAME ); - if (defined($_[0]->attribute('LANG')->value)) { - my $id = $_[0]->attribute('LANG')->value; - my $ad = $words{$id}; - output("\n.SH $ad\n");} - else {output("\n.SH NAME\n");} + # Use the REFNAMEDIV's lang attribute, and default to the + # REFENTRY's lang attribute. + my $lang = $_[0]->attribute('LANG')->value; + $lang = $manpage_lang unless defined $lang; + if (defined($lang) and defined $words{lc($lang)}) { + my $ad = $words{lc($lang)}; + output("\n.SH $ad\n");} + else { output("\n.SH NAME\n");} }); sgml('', \&save_cdata); '/guix/diff/gnu/packages/patches/websocketpp-fix-for-cmake-3.15.patch?id=839bb42f0cc80dbdbcd101fffadd47ead93409d2'>diff
-tests.patch: Adjust context. * gnu/packages/patches/util-linux-CVE-2018-7738.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. * gnu/packages/linux.scm (util-linux): Update to 2.32. [source](patches): Remove 'util-linux-CVE-2018-7738.patch'.
AgeCommit message (Expand)Author
2020-06-05gnu: websocketpp: Update to 0.8.2....* gnu/packages/web.scm (websocketpp): Update to 0.8.2. [source]: Replace patch. * gnu/packages/patches/websocketpp-fix-for-boost-1.70.patch: Delete file. * gnu/packages/patches/websocketpp-fix-for-cmake-3.15.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Tobias Geerinckx-Rice
Marius Bakke
2015-09-15gnu: util-linux: Adapt util-linux-tests.patch to version 2.27....This is a followup to commit 57a66c2729b4c3f7363a48eed954386a96137119. * gnu/packages/patches/util-linux-tests.patch: Adapt to util-linux 2.27. Mark H Weaver