summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-09-03 00:08:49 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2018-09-03 00:09:40 +0200
commit41f925138940f1c444810fdd6acabbaaa267e8e3 (patch)
treeee08f374d6b765da0d4bed0872fd2184545e05e1
parent9553791136ef7d6c11bebf3d5a6b85f8528dd1ed (diff)
Patch for reproducible build updated
-rw-r--r--debian/changelog3
-rw-r--r--debian/patches/05-reproducible-build.patch16
2 files changed, 18 insertions, 1 deletions
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}