packages/utils/minicom/patches/110-reproducible-builds.patch
Alexander Couzens 8f60475b83
minicom: remove build time to fix reproducible builds
Build timestamps prevents reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-11-17 12:51:29 +01:00

20 lines
596 B
Diff

--- a/src/minicom.c
+++ b/src/minicom.c
@@ -1159,7 +1159,7 @@ int main(int argc, char **argv)
switch(c) {
case 'v':
printf(_("%s version %s"), PACKAGE, VERSION);
-#ifdef __DATE__
+#if 0
printf(_(" (compiled %s)"), __DATE__);
#endif
printf("\n");
@@ -1462,7 +1462,7 @@ int main(int argc, char **argv)
mc_wprintf(us, "\n%s %s\r\n", _("Welcome to minicom"), VERSION);
mc_wprintf(us, "\n%s: %s\r\n", _("OPTIONS"), option_string);
-#if defined (__DATE__) && defined (__TIME__)
+#if 0
mc_wprintf(us, "%s %s, %s.\r\n",_("Compiled on"), __DATE__,__TIME__);
#endif
{