Source: cadencii
Version: 3.3.9+svn20110818.r1732-4
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed that 
cadencii could not be built reproducibly.

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/04-reproducible-build.patch        1970-01-01 
01:00:00.000000000 +0100
--- b/debian/patches/04-reproducible-build.patch        2016-06-07 
20:50:55.167084083 +0100
@@ -0,0 +1,11 @@
+--- cadencii-3.3.9+svn20110818.r1732.orig/replace_path_separator.pl
++++ cadencii-3.3.9+svn20110818.r1732/replace_path_separator.pl
+@@ -105,7 +105,7 @@ namespace org.kbinani.cadencii
+         {
+ __EOD__
+ 
+-foreach $key ( keys %directive )
++foreach $key ( sort keys %directive )
+ {
+     my $tbool = $directive{$key} == 0 ? "false" : "true";
+     print CFG "            mDirectives.put( \"$key\", $tbool );\n";
--- a/debian/patches/series     2016-06-07 20:49:16.273750883 +0100
--- b/debian/patches/series     2016-06-07 20:50:52.463047408 +0100
@@ -1,3 +1,4 @@
 01-svn-r1744.patch
 02-vconnect.patch
 03-java8-compatibility.patch
+04-reproducible-build.patch
--- a/debian/source/include-binaries    1970-01-01 01:00:00.000000000 +0100
--- b/debian/source/include-binaries    2016-06-07 20:50:45.854957769 +0100
@@ -0,0 +1 @@
+cadencii-build-deps_3.3.9+svn20110818.r1732-4_all.deb

Reply via email to