File reproducible.patch of Package ocr

Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2019-02-15

Sort input file list
so that builds in a reproducible way
in spite of indeterministic filesystem readdir order.

See for why this is good.

diff --git a/ocr/build/ b/ocr/build/
index aa8d333..7b39f17 100644
--- a/ocr/build/
+++ b/ocr/build/
@@ -213,7 +213,7 @@ CFLAGS := -g -Wall $(CFLAGS) $(CFLAGS_USER)
 # Generate a list of all source files and the respective objects
-SRCS   := $(shell find -L $(OCR_ROOT)/src -name '*.[csS]' -print)
+SRCS   := $(sort $(shell find -L $(OCR_ROOT)/src -name '*.[csS]' -print))
 # Generate a source search path
openSUSE Build Service is sponsored by