]> code.ossystems Code Review - openembedded-core.git/commit
groff: Fix reproducibility issue
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Dec 2020 17:11:52 +0000 (17:11 +0000)
committerSteve Sakoman <steve@sakoman.com>
Tue, 22 Dec 2020 18:09:20 +0000 (08:09 -1000)
commit5bbd7b1f6e1dccffc7bf3f0b37fbc74b6e755e81
treed4d9478e70c589811b65dd1e845553504971cc7a
parentd39587d65bd57148c2c76b23e7a6ec78de855909
groff: Fix reproducibility issue

groff chooses a default papersize depending on the value from /etc/papersize
and failing that, the search domain in /etc/resolv.conf based on the comment
in configure:

"""
If the top-level domain is two letters and it's not 'us' or 'ca'
then they probably use A4 paper.
"""

Oddly, my system sets to "a4" in /etc/papersize which means it defaults to
"letter" since its != "A4".

These defaults ripple through to cause the output of man-db to change depending
on which default value was selected.

To resolve this, set a default of "A4" since that covers the larger population
of the two default values.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6cb511bfbd18258c782ee18f054a2590e4daaddc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/groff/groff_1.22.4.bb