diff options
Diffstat (limited to 'ipv6/miredo/patches/004-reproducible.patch')
-rw-r--r-- | ipv6/miredo/patches/004-reproducible.patch | 26 |
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")); + |