3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
guix/gnu/packages/patches/hubbub-sort-entities.patch
Eric Bavier 43bfbf1370
gnu: Add hubbub.
* gnu/packages/web.scm (hubbub): New variable.
2017-02-13 22:28:25 -06:00

13 lines
334 B
Diff

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});
}