# Source: Description: incorrectly strips whitespace (patch included) In the previous upload, docbook2man was patched to escape the special characters . and ' at the beginning of a line (see #399947). Unfortunately that patch was incorrect -- as well as escaping the special characters, it also removes all whitespace from the beginning of affected lines. As a result, if you are in a block where whitespace matters (such as ...) then the output is now incorrect. This is very easy to fix -- just match the whitespace and preserve it, instead of tossing it away. The full patch (just two lines) is included below. Author: Ben Burton Forwarded: not-needed Bug-Debian: http://bugs.debian.org/528334 Edit by Bruno Victal : Patch was edited so that it could be applied against the original docbook-utils-0.6.14 sources. Index: docbook-utils-0.6.14/helpers/docbook2man-spec.pl =================================================================== --- docbook-utils-0.6.14.orig/helpers/docbook2man-spec.pl 2012-05-09 18:59:42.584774885 +0200 +++ docbook-utils-0.6.14/helpers/docbook2man-spec.pl 2012-05-09 19:00:34.788773002 +0200 @@ -1212,8 +1212,8 @@ $_[0] =~ s/\\/\\\\/g; # Escape dots and single quotes in column 1 - $_[0] =~ s/^\./\\\&\./; - $_[0] =~ s/^\'/\\\&\'/; + $_[0] =~ s/^([ \t]*)\./$1\\\&\./; + $_[0] =~ s/^([ \t]*)\'/$1\\\&\'/; # In non-'pre'-type elements: if(!$nocollapse_whitespace) { 3f83bf2bff'>diff
AgeCommit message (Expand)Author
2024-07-19gnu: rust-zstd-sys-2: Unbundle zstd....* gnu/packages/crates-io.scm (rust-zstd-sys-2)[source]: Add snippet to remove bundled zstd. [native-inputs]: Add pkg-config. [inputs]: Add zstd:lib. (rust-parquet2-0.17, rust-polars-io-0.37, rust-polars-pipe-0.37, rust-zip-0.6, rust-zstd-0.13, rust-zstd-safe-7)[native-inputs]: Add pkg-config. [inputs]: Add zstd:lib. * gnu/packages/crates-web.scm (rust-tower-http-0.5)[native-inputs]: Add pkg-config. [inputs]: Add zstd:lib. * gnu/packages/python-compression.scm (python-cramjam) [native-inputs]: Add pkg-config. [inputs]: Add zstd:lib. Change-Id: Iccb160aa7099c141567c415237ab9662448a4e93 Efraim Flashner
2024-05-30gnu: python-ewah-bool-utils: Update to 1.2.0....* gnu/packages/python-compression.scm (python-ewah-bool-utils): Update to 1.2.0. Change-Id: I7bc50249f2d7e97c64d23054ad176cf0e4af6258 Signed-off-by: Andrew Tropin <andrew@trop.in> Sharlatan Hellseher
2024-04-06gnu: Add python-zipstream-ng....* gnu/packages/python-xyz.scm (python-zipstream-ng): New variable. Change-Id: Idf0c0d471aa1eda45cf649874f6a79b6b9a7937b Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> TakeV
2024-03-29gnu: Add python-ewah-bool-utils....* gnu/packages/python-compression.scm (python-ewah-bool-utils): New variable. Change-Id: Ib9730d599f66bc2b864bfd305135e367f89ba9dd Sharlatan Hellseher
2024-03-29gnu: python-blosc: Simplify package....* gnu/packages/python-compression.scm (python-blosc) [arguments] <#:phases>: Swap to simple lambda in 'find-blosc phase as it already uses this-package-input procedure. Change-Id: I4d3219d9575b9573b0c384b067855fa927f122da Sharlatan Hellseher
2024-03-29gnu: python-blosc: Move to python-compression....* gnu/packages/python-xyz.scm (python-blosc): Move from here ... * gnu/packages/python-compression.scm: ... to here. Change-Id: Ieed1b399602d0ba64b065d1c03ef0855ac52f71e Sharlatan Hellseher
2024-03-03gnu: Add python-cramjam....* gnu/packages/python-compression.scm (python-cramjam): New variable. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Troy Figiel