File: reproducible.patch

package info (click to toggle)
swift-im 5.0~alpha2.145.g12d031cf8%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,240 kB
  • sloc: cpp: 134,640; python: 2,701; sh: 774; xml: 561; javascript: 69; makefile: 60
file content (20 lines) | stat: -rw-r--r-- 717 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Subject: [PATCH] Reproducible Builds: Sort directory contents at build
Origin: https://github.com/swift/swift/pull/129
From b5d205c794770a38bf27876c35b4208e12c2074e Mon Sep 17 00:00:00 2001
From: kpcyrd <git@rxv.cc>
Date: Wed, 25 Aug 2021 23:30:17 +0200
---
 Swiften/SConscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/Swiften/SConscript
+++ b/Swiften/SConscript
@@ -593,7 +593,7 @@
     swiften_includes = []
     swiften_public_includes = []
     top_path = env.Dir("..").abspath
-    for root, dirs, files in os.walk(env.Dir(".").abspath) :
+    for root, dirs, files in sorted(os.walk(env.Dir(".").abspath)) :
         dirs.sort()
         files.sort()
         if root.endswith("UnitTest") :