Source: vtk9
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Various .html files in the documentation include unsorted arrays:

  
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/vtk9.html

  /usr/share/doc/vtk9/html/c2_vtk_e_0.html
  51    <li>3·parser(s)·:·[C++,·Python,·Java]</li>
  51    <li>3·parser(s)·:·[Java,·Python,·C++]</li>


The attached patch fixes this by sorting the parsers array in
doc_class2example.pl.


Thanks for maintaining vtk9!


live well,
  vagrant
From c3f5613299c9dfdee66709674a6cafafb6576137 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Tue, 15 Dec 2020 07:38:56 +0000
Subject: [PATCH 2/2] doc_class2example.pl: Sort the parsers array.

Thanks to Bernhard M. Wiedemann <bernhard...@lsmod.de>.
---
 Utilities/Doxygen/doc_class2example.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Utilities/Doxygen/doc_class2example.pl b/Utilities/Doxygen/doc_class2example.pl
index 3978563..ce8aeca 100755
--- a/Utilities/Doxygen/doc_class2example.pl
+++ b/Utilities/Doxygen/doc_class2example.pl
@@ -261,6 +261,7 @@ if (exists $args{"parser"}) {
 } else {
     @parsers = keys %parsers;
 }
+@parsers = sort @parsers;
 
 my $os_is_win = ($^O =~ m/(MSWin32|Cygwin)/i);
 my $open_file_as_text = $os_is_win ? O_TEXT : 0;
-- 
2.29.2

Attachment: signature.asc
Description: PGP signature

Reply via email to