1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
From: Raymond Nicholson <rain1@openmailbox.org>
Date: Fri, 19 May 2017 00:43:51 -0700
Subject: [PATCH] doc: sort 'keys' for reproducibility.
Taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820194
From Raymond original patch, it appears 3 out of the 5 changes had
been taken care of upstream.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
---
doc/genps.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/genps.pl b/doc/genps.pl
index 30ee72a..c81efe4 100755
--- a/doc/genps.pl
+++ b/doc/genps.pl
@@ -1055,10 +1055,10 @@ print "%%EndComments\n";
print "%%BeginProlog\n";
# Emit the configurables as PostScript tokens
-foreach $c ( keys(%psconf) ) {
+foreach $c ( sort keys(%psconf) ) {
print "/$c ", $psconf{$c}, " def\n";
}
-foreach $c ( keys(%psbool) ) {
+foreach $c ( sort keys(%psbool) ) {
print "/$c ", ($psbool{$c}?'true':'false'), " def\n";
}
|