Source: prima
Version: 1.28-1.3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that prima could not be built reproducibly.
The attached patch removes randomness from the build system. Once
applied, prima can be built reproducibly in our reproducible
toolchain.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff -urNad prima.orig/prima-1.28/Prima/Gencls.pm
prima/prima-1.28/Prima/Gencls.pm
--- prima.orig/prima-1.28/Prima/Gencls.pm 2015-02-22 01:53:29.793746952
+0000
+++ prima/prima-1.28/Prima/Gencls.pm 2015-02-22 02:51:15.719190986 +0000
@@ -2103,7 +2103,7 @@
( scalar(@x) > 5 && $properties{$x[0]}) ? ( $x[0] => $#x - 4) : ();
} @newMethods;
-for ( keys %properties) {
+for ( sort keys %properties) {
my $type = $properties{$_};
my $def = ( exists $structs{ $type} || exists( $arrays{ $type})) ?
"${type}_buffer" :