Package: libpdl-io-hdf5-perl / 1:0.73-5

reproducible_build.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Sort hash keys while printing RETVALs
Author: Reiner Herrmann <reiner@reiner-h.de>
Bug-Debian: https://bugs.debian.org/829320
Forwarded: https://sourceforge.net/p/pdl/patches/83/

--- a/hdf5.pd
+++ b/hdf5.pd
@@ -1201,7 +1201,7 @@ sub create_low_level {
     $xsout .= ");\n";
     $xsout .= "OUTPUT:\n";
     $xsout .= "\tRETVAL\n";
-    foreach $var (keys %output) {
+    foreach $var (sort keys %output) {
       $xsout .= "\t$var\n";
     }
     $xsout .= "\n\n";