diff options
Diffstat (limited to 'data/minicom')
-rw-r--r-- | data/minicom/timestamp.diff | 24 | ||||
-rw-r--r-- | data/minicom/wprintf.diff | 9 |
2 files changed, 28 insertions, 5 deletions
diff --git a/data/minicom/timestamp.diff b/data/minicom/timestamp.diff new file mode 100644 index 000000000..6945ae8f7 --- /dev/null +++ b/data/minicom/timestamp.diff @@ -0,0 +1,24 @@ +diff -ru minicom-2.2/src/minicom.c minicom-2.2+iPhone/src/minicom.c +--- minicom-2.2/src/minicom.c 2005-10-31 12:13:51.000000000 +0000 ++++ minicom-2.2+iPhone/src/minicom.c 2008-06-18 01:41:33.000000000 +0000 +@@ -1028,9 +1028,6 @@ + switch(c) { + case 'v': + printf(_("%s version %s"), PACKAGE, VERSION); +-#ifdef __DATE__ +- printf(_(" (compiled %s)"), __DATE__); +-#endif + printf("\n"); + printf(_("Copyright (C) Miquel van Smoorenburg.\n\n")); + printf("This program is free software; you can redistribute it and/or\n" +@@ -1340,9 +1337,7 @@ + + wprintf(us, "\n%s %s\r\n", _("Welcome to minicom"), VERSION); + wprintf(us, "\n%s: %s\r\n", _("OPTIONS"), option_string); +-#if defined (__DATE__) && defined (__TIME__) +- wprintf(us, "%s %s, %s.\r\n",_("Compiled on"), __DATE__,__TIME__); +-#endif ++ + wprintf(us, "Port %s\n", P_PORT); + wprintf(us, _("\nPress %sZ for help on special keys%c\n\n"),esc_key(),'\r'); + diff --git a/data/minicom/wprintf.diff b/data/minicom/wprintf.diff index 46d83fee7..01d7b8d06 100644 --- a/data/minicom/wprintf.diff +++ b/data/minicom/wprintf.diff @@ -1049,7 +1049,7 @@ diff -ru minicom-2.2/src/minicom.c minicom-2.2+iPhone/src/minicom.c wredraw(b_st, 1); if (citemode) wlocate(b_us, 0, cite_y); -@@ -1338,13 +1338,13 @@ +@@ -1335,6 +1335,6 @@ if (doinit) modeminit(); @@ -1057,10 +1057,9 @@ diff -ru minicom-2.2/src/minicom.c minicom-2.2+iPhone/src/minicom.c - wprintf(us, "\n%s: %s\r\n", _("OPTIONS"), option_string); + wprintf_(us, "\n%s %s\r\n", _("Welcome to minicom"), VERSION); + wprintf_(us, "\n%s: %s\r\n", _("OPTIONS"), option_string); - #if defined (__DATE__) && defined (__TIME__) -- wprintf(us, "%s %s, %s.\r\n",_("Compiled on"), __DATE__,__TIME__); -+ wprintf_(us, "%s %s, %s.\r\n",_("Compiled on"), __DATE__,__TIME__); - #endif + +@@ -1340,6 +1340,6 @@ + - wprintf(us, "Port %s\n", P_PORT); - wprintf(us, _("\nPress %sZ for help on special keys%c\n\n"),esc_key(),'\r'); + wprintf_(us, "Port %s\n", P_PORT); |