File reproducible.patch of Package fsvs

sort input files

when building packages (e.g. for openSUSE Linux)
(random) filesystem order of input files
influences ordering of functions in the output,
thus without the patch, builds (in disposable VMs) would usually differ.
 
See https://reproducible-builds.org/ for why this matters.

Index: fsvs-1.2.7/src/Makefile.in
===================================================================
--- fsvs-1.2.7.orig/src/Makefile.in
+++ fsvs-1.2.7/src/Makefile.in
@@ -40,7 +40,7 @@ endif
 
 
 
-C_FILES	:= $(wildcard *.c)
+C_FILES	:= $(sort $(wildcard *.c))
 H_FILES	:= $(wildcard *.h)
 D_FILES := $(C_FILES:%.c=.%.d)
 DEST	:= fsvs
openSUSE Build Service is sponsored by