Package: fsvs / 1.2.7-1

sort-source-files.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Sort source files for deterministic linking order
 Required for reproducible building.

--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -41,7 +41,7 @@
 
 
 
-C_FILES	:= $(wildcard *.c)
+C_FILES	:= $(sort $(wildcard *.c))
 H_FILES	:= $(wildcard *.h)
 D_FILES := $(C_FILES:%.c=.%.d)
 DEST	:= fsvs