[libmkdoc-xml-perl] 01/07: Add patch from Niko Tyni to make build reproducible.
gregor herrmann
gregoa at debian.org
Thu Aug 20 20:12:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libmkdoc-xml-perl.
commit cc12e64aec788e8a6c9dc43ac443ea992ab270aa
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Aug 20 22:05:42 2015 +0200
Add patch from Niko Tyni to make build reproducible.
Closes: #796245
---
.../0001-Sort-attributes-in-XML-output.patch | 24 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 25 insertions(+)
diff --git a/debian/patches/0001-Sort-attributes-in-XML-output.patch b/debian/patches/0001-Sort-attributes-in-XML-output.patch
new file mode 100644
index 0000000..793d8bb
--- /dev/null
+++ b/debian/patches/0001-Sort-attributes-in-XML-output.patch
@@ -0,0 +1,24 @@
+From: Niko Tyni <ntyni at debian.org>
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/796245
+Date: Thu, 20 Aug 2015 20:26:13 +0300
+Subject: [PATCH] Sort attributes in XML output
+ .
+ This makes the XML output reproducible, so that the
+ order of the attributes stays the same on every call.
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-08-20
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=106568
+Bug: https://rt.cpan.org/Ticket/Display.html?id=106568
+
+--- a/lib/MKDoc/XML/TreePrinter.pm
++++ b/lib/MKDoc/XML/TreePrinter.pm
+@@ -49,7 +49,7 @@
+
+ my $tag = $node->{_tag};
+ my %att = map { $_ => _encode_quot ($node->{$_}) } grep !/^_/, keys %{$node};
+- my $attr = join " ", map { "$_=\"$att{$_}\"" } keys %att;
++ my $attr = join " ", map { "$_=\"$att{$_}\"" } sort keys %att;
+ my $open = $node->{_open};
+ my $close = $node->{_close};
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7ee6fe8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Sort-attributes-in-XML-output.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmkdoc-xml-perl.git
More information about the Pkg-perl-cvs-commits
mailing list