This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to branch master
in repository liblucy-perl.

commit 2a00e3b654ec1149094f29720d89498de0060550
Author: Florian Schlichting <f...@debian.org>
Date:   Thu Sep 10 23:18:25 2015 +0200

    Add reproducible.patch by ntyni to make the build reproducible (closes: 
#796251)
---
 debian/patches/reproducible.patch | 33 +++++++++++++++++++++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 34 insertions(+)

diff --git a/debian/patches/reproducible.patch 
b/debian/patches/reproducible.patch
new file mode 100644
index 0000000..01b2a66
--- /dev/null
+++ b/debian/patches/reproducible.patch
@@ -0,0 +1,33 @@
+From c602a943fa712771b819dafed5658b9641f0c83c Mon Sep 17 00:00:00 2001
+From: Niko Tyni <nt...@debian.org>
+Date: Thu, 20 Aug 2015 22:11:23 +0300
+Subject: [PATCH] Generate the XS code in a deterministic way
+
+Sort the list of classes when writing out XS code, so that it stays
+stable between builds. This makes it possible to build reproducible
+binaries from the generated code.
+
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796251
+Forwarded: no, as Clownfish::CFC is no longer bundled in the current (0.4.2)
+ upstream release, and the code in the separate dist has been reorganized in
+ non-obvious (to me) ways
+---
+ clownfish/perl/lib/Clownfish/CFC/Binding/Perl.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/clownfish/perl/lib/Clownfish/CFC/Binding/Perl.pm 
b/clownfish/perl/lib/Clownfish/CFC/Binding/Perl.pm
+index e782270..c5f819b 100644
+--- a/clownfish/perl/lib/Clownfish/CFC/Binding/Perl.pm
++++ b/clownfish/perl/lib/Clownfish/CFC/Binding/Perl.pm
+@@ -133,7 +133,7 @@ sub write_bindings {
+     }
+ 
+     # Hand-rolled XS.
+-    for my $class_name ( keys %has_xs_code ) {
++    for my $class_name ( sort keys %has_xs_code ) {
+         my $class_binding
+             = Clownfish::CFC::Binding::Perl::Class->singleton($class_name);
+         $hand_rolled_xs .= $class_binding->get_xs_code . "\n";
+-- 
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
index 2f91c06..4818597 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 mips-unaligned-access.patch
+reproducible.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/liblucy-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to