--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2019-04-29 14:04:37.163882359 +0100 @@ -0,0 +1,30 @@ +Description: Make the build reproducible +Author: Chris Lamb +Last-Update: 2019-04-29 + +--- fim-0.5~rc3.orig/src/fim.cpp ++++ fim-0.5~rc3/src/fim.cpp +@@ -1603,13 +1603,6 @@ fim_perr_t main(int argc,char *argv[]) + #ifdef FIM_CONFIGURATION + "Configuration invocation: " FIM_CONFIGURATION "\n" + #endif /* FIM_CONFIGURATION */ +- #ifdef CXXFLAGS +- "Compile flags: CXXFLAGS=" CXXFLAGS +- #ifdef CFLAGS +- " CFLAGS=" CFLAGS +- #endif /* CFLAGS */ +- "\n" +- #endif /* CXXFLAGS */ + "Fim options (features included (+) or not (-)):\n" + #include "version.h" + /* i think some flags are missing .. */ +--- fim-0.5~rc3.orig/src/Makefile.am ++++ fim-0.5~rc3/src/Makefile.am +@@ -51,7 +51,6 @@ version.h: ../config.h + $(ECHO) "\"\n\"" >> $@ + $(GREP) define $< | $(GREP) FIM.*'"' | LC_ALL=C $(SORT) | $(SED) 's/^#//g;s/define //g;s/^\([A-Za-z0-9_]*\) "\(.*\)"$$/"\1 = \\"\2\\"\\n"/g' >> $@ + $(GREP) undef $< | $(GREP) FIM | LC_ALL=C $(SORT) | $(SED) 's/^#//g;s/.*undef //g;s/^\([A-Za-z0-9_]*\).\+$$/-\1 /g;s/^/\"/g;s/$$/\"/g' >> $@ +- $(ECHO) '"\n'CXXFLAGS=$(CXXFLAGS)'\n"' >> $@ + + help.cpp: fim.h + $(ECHO) -e "#ifdef FIM_WANT_INLINE_HELP\n" > $@ --- a/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/series 2019-04-29 13:56:59.337704517 +0100 @@ -0,0 +1 @@ +reproducible-build.patch