aboutsummaryrefslogtreecommitdiff
path: root/ipv6/miredo/patches/004-reproducible.patch
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-02-02 21:58:48 -0800
committerRosen Penev <rosenp@gmail.com>2021-02-02 22:39:56 -0800
commit081da5a22871744738499f588f076fcb542d4004 (patch)
tree8fee87dd8859dc0545e3db7a6564c76b2f762700 /ipv6/miredo/patches/004-reproducible.patch
parent04c911aeb069cfb9d70e55d57d2695501828e251 (diff)
miredo: add debian reproducibility patch
Refreshed other patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'ipv6/miredo/patches/004-reproducible.patch')
-rw-r--r--ipv6/miredo/patches/004-reproducible.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/ipv6/miredo/patches/004-reproducible.patch b/ipv6/miredo/patches/004-reproducible.patch
new file mode 100644
index 000000000..62bae2a3f
--- /dev/null
+++ b/ipv6/miredo/patches/004-reproducible.patch
@@ -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"));
+