From 41f925138940f1c444810fdd6acabbaaa267e8e3 Mon Sep 17 00:00:00 2001 From: Ruben Undheim Date: Mon, 3 Sep 2018 00:08:49 +0200 Subject: Patch for reproducible build updated --- debian/changelog | 3 +++ debian/patches/05-reproducible-build.patch | 16 +++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 974afd3..51aa89b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,6 +20,9 @@ irsim (9.7.100-1) unstable; urgency=medium - Added new debian copyright holder * debian/gbp.conf: to enforce pristine-tar with gbp * debian/lintian-overrides: ignore one spelling error + * debian/patches/05-reproducible-build.patch: + - Patch for reproducible build updated (Closes: #829628) + Thanks "Chris Lamb"! * debian/patches/0006-Fix-spelling-errors.patch: - Fix a number of detected spelling errors * debian/rules: diff --git a/debian/patches/05-reproducible-build.patch b/debian/patches/05-reproducible-build.patch index 4a64c7c..2899fd6 100644 --- a/debian/patches/05-reproducible-build.patch +++ b/debian/patches/05-reproducible-build.patch @@ -4,7 +4,8 @@ Subject: Make it reproducible --- irsim/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + tcltk/Makefile | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/irsim/Makefile b/irsim/Makefile index 5fed03b..973ddec 100644 @@ -19,3 +20,16 @@ index 5fed03b..973ddec 100644 CFLAGS += -I${IRSIMDIR}/base LIBS += ${GR_LIBS} -lm +diff --git a/tcltk/Makefile b/tcltk/Makefile +index 1ff6caf..0c5c713 100644 +--- a/tcltk/Makefile ++++ b/tcltk/Makefile +@@ -7,7 +7,7 @@ include ${IRSIMDIR}/defs.mak + + EXTRA_LIBS = ${MAIN_EXTRA_LIBS} + +-DFLAGS += -DIRSIM_DATE="\"`date`\"" ++DFLAGS += -DIRSIM_DATE="\"`dpkg-parsechangelog -l../debian/changelog --show-field Date`\"" + LIBS += ${GR_LIBS} -lm + CLEANS += irsim.sh irsim.tcl irsimexec + SRCS += ${GR_SRCS} -- cgit v1.2.3