Package: magic / 8.1.218+ds.1-1~bpo9+1

08-reproducible-build.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Roland Stigge <stigge@antcom.de>
Date: Thu, 26 Jul 2018 18:14:03 +0000
Subject: reproducible-build

---
 tcltk/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tcltk/Makefile b/tcltk/Makefile
index ac45c27..871c62e 100644
--- a/tcltk/Makefile
+++ b/tcltk/Makefile
@@ -8,7 +8,7 @@ SRCS = tclmagic.c
 
 include ${MAGICDIR}/defs.mak
 
-DFLAGS += -DMAGIC_DATE="\"`date`\""
+DFLAGS += -DMAGIC_DATE="\"`dpkg-parsechangelog -l../debian/changelog --show-field Date`\""
 CLEANS += magic.sh magic.tcl magicexec magicdnull
 
 TCL_FILES = \