File: reproducible_build.patch

package info (click to toggle)
libpdl-io-hdf5-perl 1%3A0.73-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 564 kB
  • ctags: 83
  • sloc: perl: 1,544; makefile: 14
file content (16 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (3)
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";