miredo: add debian reproducibility patch

Refreshed other patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2021-02-02 21:58:48 -08:00
parent 04c911aeb0
commit 081da5a228
5 changed files with 41 additions and 16 deletions
@@ -0,0 +1,26 @@
From: Tomasz Buchert <tomasz@debian.org>
Date: Fri, 6 Feb 2015 11:33:20 +0100
Subject: Fix reproducibility issues
We replace unreproducible CC macros with
N/A placeholders. This fixes #776716.
---
src/main.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/src/main.c
+++ b/src/main.c
@@ -92,10 +92,11 @@ miredo_version (void)
#ifndef VERSION
# define VERSION "unknown version"
#endif
+ const char* UNKNOWN = "N/A";
printf (_("Miredo: Teredo IPv6 tunneling software %s (%s)\n"
" built %s on %s (%s)\n"),
- VERSION, PACKAGE_HOST, __DATE__,
- PACKAGE_BUILD_HOSTNAME, PACKAGE_BUILD);
+ VERSION, UNKNOWN, UNKNOWN,
+ UNKNOWN, UNKNOWN);
printf (_("Configured with: %s\n"), PACKAGE_CONFIGURE_INVOCATION);
puts (_("Written by Remi Denis-Courmont.\n"));