aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/perl-deterministic-ordering.patch
blob: 92e33ef135d45aa2ea9967ee1f9f30c6376473b1 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From <https://bugs.debian.org/801523>.

From c01f602d1926b0671fd2c8d91f7e52c4e4c9fb24 Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@debian.org>
Date: Sun, 11 Oct 2015 19:27:56 +0300
Subject: [PATCH] Sort the list of XS code files when generating RealPPPort.xs

all_files_in_dir() uses readdir() ordering to make the list of
input files. This can vary between build systems, breaking build
reproducibility.
---
 cpan/Devel-PPPort/PPPort_xs.PL | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpan/Devel-PPPort/PPPort_xs.PL b/cpan/Devel-PPPort/PPPort_xs.PL
index 5f18940..149f2fe 100644
--- a/cpan/Devel-PPPort/PPPort_xs.PL
+++ b/cpan/Devel-PPPort/PPPort_xs.PL
@@ -38,7 +38,7 @@ END
 my $file;
 my $sec;
 
-for $file (all_files_in_dir('parts/inc')) {
+for $file (sort(all_files_in_dir('parts/inc'))) {
   my $spec = parse_partspec($file);
 
   my $msg = 0;
-- 
2.5.1
d> 2022-01-03.guix-authorizations: Remove David Wilson due to inactivity....Leo Famulari 2022-01-03.guix-authorizations: Remove Brett Gilio due to inactivity....Leo Famulari 2022-01-03.guix-authorizations: Remove Amin Bandali due to inactivity....Leo Famulari 2022-01-03.guix-authorizations: Remove Alex Sassmannshausen due to inactivity....Leo Famulari 2022-01-03.guix-authorizations: Remove Alex Griffin due to inactivity....Leo Famulari 2022-01-03.guix-authorizations: Remove Gábor Boskovits due to inactivity....Leo Famulari 2021-09-06.guix-authorizations: Rename leoprikler to lilyp....Liliana Marie Prikler 2021-06-30.guix-authorizations: Remove kkebreau....Kei Kebreau 2021-06-23.guix-authorizations: Update bavier's key....Ludovic Courtès 2021-04-28.guix-authorizations: Remove lle_bout....Marius Bakke 2021-04-11.guix-authorizations: Add raghavgururajan....Tobias Geerinckx-Rice 2021-04-09Revert ".guix-authorizations: Remove biscuolo due to inactivity."...Leo Famulari 2021-04-07.guix-authorizations: Remove biscuolo due to inactivity....Leo Famulari 2021-04-07.guix-authorizations: Remove wingo due to inactivity....Leo Famulari 2021-04-07.guix-authorizations: Remove sleep_walker due to inactivity....Leo Famulari 2021-04-07.guix-authorizations: Remove rhelling due to inactivity....Leo Famulari 2021-04-07.guix-authorizations: Remove lsl88 due to inactivity....Leo Famulari 2021-04-07.guix-authorizations: Remove benwoodcroft due to inactivity....Leo Famulari 2021-04-07.guix-authorizations: Remove alexvong1995 due to inactivity....Leo Famulari 2021-04-06.guix-authorizations: Remove taylanub....Leo Famulari 2021-04-06.guix-authorizations: Remove thomasd....Leo Famulari 2021-03-08.guix-authorizations: Add lbraun....Leo Famulari 2021-02-18.guix-authorizations: Add lle_bout....Tobias Geerinckx-Rice