File reproducible.patch of Package honggfuzz

Index: honggfuzz-0.9/Makefile
===================================================================
--- honggfuzz-0.9.orig/Makefile
+++ honggfuzz-0.9/Makefile
@@ -26,7 +26,7 @@ LD = $(CC)
 BIN := honggfuzz
 COMMON_CFLAGS := -D_GNU_SOURCE -Wall -Werror -Wframe-larger-than=131072
 COMMON_LDFLAGS := -lm
-COMMON_SRCS := $(wildcard *.c)
+COMMON_SRCS := $(sort $(wildcard *.c))
 CFLAGS ?= -O3
 LDFLAGS ?=
 
@@ -42,7 +42,7 @@ ifeq ($(OS),Linux)
                    -D_FILE_OFFSET_BITS=64
     ARCH_LDFLAGS := -L/usr/local/include -L/usr/include \
                     -lpthread -lunwind-ptrace -lunwind-generic -lbfd -lopcodes -lrt
-    ARCH_SRCS := $(wildcard linux/*.c)
+    ARCH_SRCS := $(sort $(wildcard linux/*.c))
 
     ifeq ("$(wildcard /usr/include/bfd.h)","")
         WARN_LIBRARY += binutils-devel
@@ -113,11 +113,11 @@ else ifeq ($(OS),Darwin)
     ifeq ($(MIG_RET),1)
         $(error mig failed to generate RPC code)
     endif
-    ARCH_SRCS := $(wildcard mac/*.c)
+    ARCH_SRCS := $(sort $(wildcard mac/*.c))
     # OS Darwin
 else
     ARCH := POSIX
-    ARCH_SRCS := $(wildcard posix/*.c)
+    ARCH_SRCS := $(sort $(wildcard posix/*.c))
     ARCH_CFLAGS := -std=c11 -I/usr/local/include -I/usr/include \
                    -Wextra -Wno-initializer-overrides -Wno-override-init \
                    -Wno-unknown-warning-option -Wno-unknown-pragmas \
openSUSE Build Service is sponsored by