forked from pool/libical
ae6bdddbeb
- add reproducible-generator.patch from debian bug report to get reproducible builds (and predicatable API actually) OBS-URL: https://build.opensuse.org/request/show/283976 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libical?expand=0&rev=33
18 lines
641 B
Diff
18 lines
641 B
Diff
Description: Sort keys to generate reproducible source code.
|
|
Author: Dimitri John Ledkov <dimitri.j.ledkov@linux.intel.com>
|
|
Bug-Debian: http://bugs.debian.org/773916
|
|
|
|
Index: libical-1.0.1/scripts/mkderivedvalues.pl
|
|
===================================================================
|
|
--- libical-1.0.1.orig/scripts/mkderivedvalues.pl
|
|
+++ libical-1.0.1/scripts/mkderivedvalues.pl
|
|
@@ -141,7 +141,7 @@ if($opt_c){
|
|
my $count = scalar(keys %h) + 1;
|
|
print "static const struct icalvalue_kind_map value_map[$count]={\n";
|
|
|
|
- foreach $value (keys %h) {
|
|
+ foreach $value (sort keys %h) {
|
|
|
|
next if $value eq 'NO' or $value eq 'ANY';
|
|
|