aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/hubbub-sort-entities.patch
diff options
context:
space:
mode:
authorMarius Bakke2017-02-27 12:42:22 +0100
committerMarius Bakke2017-02-27 12:42:22 +0100
commit8779987bba029535d3dc00f1aacf59281fdd34f0 (patch)
tree7a6d616d45367d508f94c3593b1ce5c7053c33f5 /gnu/packages/patches/hubbub-sort-entities.patch
parent1885bb0c08e943a2e0e37c5c0a83473c8af904d0 (diff)
parenta6d9f8837b118e2126e4b8a19bf48b524229a15c (diff)
Merge branch 'master' into python-tests
Diffstat (limited to 'gnu/packages/patches/hubbub-sort-entities.patch')
-rw-r--r--gnu/packages/patches/hubbub-sort-entities.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/patches/hubbub-sort-entities.patch b/gnu/packages/patches/hubbub-sort-entities.patch
new file mode 100644
index 000000000..012e3c302
--- /dev/null
+++ b/gnu/packages/patches/hubbub-sort-entities.patch
@@ -0,0 +1,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});
+ }
+

© 2015 - 2026 Jakob L. Kreuze