--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2015-08-31 18:12:03.020475556 +0100 @@ -0,0 +1,14 @@ +--- ferret-vis-6.9.3.orig/fer/Makefile ++++ ferret-vis-6.9.3/fer/Makefile +@@ -145,7 +145,11 @@ ferret: + .PHONY: update + update: + - mv $(EXECNAME) $(EXECNAME)_`ls -l $(EXECNAME) | awk '{print $$6"_"$$7}' | tr [A-Z] [a-z]` ++ifdef SOURCE_DATE_EPOCH ++ ${MAKE} update_date DATE=`/bin/date --utc --date="@$(SOURCE_DATE_EPOCH)" +%D` ++else + ${MAKE} update_date DATE=`/bin/date +%D` ++endif + rm -f special/xrevision_type_data.[Ffo] + sed -e 's&mmmmmmmm&($(DEBUG_TITLE)/$(GUI))&' -e 's&(/&(&' -e 's&/)&)&' < special/xrevision_type_data.template > special/xrevision_type_data.F + rm -f special/xplatform_type_data.[Ffo] --- a/debian/patches/series 2015-08-31 17:45:19.118960423 +0100 --- b/debian/patches/series 2015-08-31 18:11:59.896449040 +0100 @@ -4,3 +4,4 @@ missing-functions.patch debian.patch fix-bashisms.patch +reproducible-build.patch