Commit | Line | Data |
---|---|---|
4187fe75 LC |
1 | From <https://bugs.debian.org/801523>. |
2 | ||
3 | From c01f602d1926b0671fd2c8d91f7e52c4e4c9fb24 Mon Sep 17 00:00:00 2001 | |
4 | From: Niko Tyni <ntyni@debian.org> | |
5 | Date: Sun, 11 Oct 2015 19:27:56 +0300 | |
6 | Subject: [PATCH] Sort the list of XS code files when generating RealPPPort.xs | |
7 | ||
8 | all_files_in_dir() uses readdir() ordering to make the list of | |
9 | input files. This can vary between build systems, breaking build | |
10 | reproducibility. | |
11 | --- | |
12 | cpan/Devel-PPPort/PPPort_xs.PL | 2 +- | |
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
14 | ||
15 | diff --git a/cpan/Devel-PPPort/PPPort_xs.PL b/cpan/Devel-PPPort/PPPort_xs.PL | |
16 | index 5f18940..149f2fe 100644 | |
17 | --- a/cpan/Devel-PPPort/PPPort_xs.PL | |
18 | +++ b/cpan/Devel-PPPort/PPPort_xs.PL | |
19 | @@ -38,7 +38,7 @@ END | |
20 | my $file; | |
21 | my $sec; | |
22 | ||
23 | -for $file (all_files_in_dir('parts/inc')) { | |
24 | +for $file (sort(all_files_in_dir('parts/inc'))) { | |
25 | my $spec = parse_partspec($file); | |
26 | ||
27 | my $msg = 0; | |
28 | -- | |
29 | 2.5.1 |