~ruther/guix-local

ref: 88d6a1d15410d8ea0bef3d928e86d40eba4f1b13 guix-local/gnu/packages/patches/hubbub-sort-entities.patch -rw-r--r-- 334 bytes
88d6a1d1 — Ricardo Wurmus gnu: python-itanium-demangler: Add missing inputs. 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
Traverse the entities hash's keys in sorted order to ensure reproducibility.

--- libhubbub-0.3.3/build/make-entities.pl
+++ libhubbub-0.3.3/build/make-entities.pl
@@ -86,7 +86,7 @@
 
 my $trie;
 
-foreach my $key (keys %entities) {
+foreach my $key (sort keys %entities) {
    $trie = insert_node($trie, $key, $entities{$key});
 }