Package:     hylafax
Subject:     make build reproducible
Author:      Joachim Wiedorn <joodebian at joonet.de>
Bug-Debian:  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790355
Forwarded:   no
Last-Update: 2016-11-10

The attached patch removes changing timestamps from the build system.
Once applied, hylafax can be built reproducibly in our reproducible
toolchain.
---

diff -urN s826/configure s827/configure
--- s826/configure	2016-11-10 21:35:51.675710483 +0100
+++ s827/configure	2016-11-10 22:31:22.091611089 +0100
@@ -470,7 +470,8 @@
 $RM ./config.log
 exec 5>./config.log			# compiler messages and the like
 
-DATE=`date`
+# make build reproducible
+DATE=`dpkg-parsechangelog -SDate`
 
 eval `cat $SRCDIR/VERSION | sed 's/\([0-9][0-9]*\)\.\([0-9][0-9]*\)[.-]\([0-9]*\)\(.*\)/DIST_MAJOR=\1; DIST_MINOR=\2; DIST_PATCH=\3; DIST_TYPE=\4/'`
 DIST_ALPHA=`awk '{print $3}' $SRCDIR/dist/hylafax.alpha`
