File: 0007-doc-sort-keys-for-reproducibility.patch

package info (click to toggle)
nasm 3.01-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 23,660 kB
  • sloc: ansic: 129,101; asm: 40,471; perl: 8,238; sh: 4,146; makefile: 1,281; xml: 726; python: 582; lisp: 578; sed: 11
file content (31 lines) | stat: -rw-r--r-- 922 bytes parent folder | download
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";
 }