Browse Source

- minicom: bump version to 2.8

master
vanhofen 3 years ago
parent
commit
a9a08f4e91
  1. 4
      package/minicom/minicom.mk
  2. 35
      package/minicom/patches/minicom-fix-h-v-return-value-is-not-0.patch

4
package/minicom/minicom.mk

@ -4,10 +4,10 @@
#
################################################################################
MINICOM_VERSION = 2.7.1
MINICOM_VERSION = 2.8
MINICOM_DIR = minicom-$(MINICOM_VERSION)
MINICOM_SOURCE = minicom-$(MINICOM_VERSION).tar.gz
MINICOM_SITE = http://fossies.org/linux/misc
MINICOM_SITE = https://salsa.debian.org/minicom-team/minicom/-/archive/$(MINICOM_VERSION)
$(DL_DIR)/$(MINICOM_SOURCE):
$(download) $(MINICOM_SITE)/$(MINICOM_SOURCE)

35
package/minicom/patches/minicom-fix-h-v-return-value-is-not-0.patch

@ -1,35 +0,0 @@
Subject: [PATCH] fix minicom -h/-v return value is not 0
Upstream-Status: Pending
Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
---
src/minicom.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/minicom.c b/src/minicom.c
index e1a557b..730da7c 100644
--- a/src/minicom.c
+++ b/src/minicom.c
@@ -1166,15 +1166,13 @@ int main(int argc, char **argv)
"modify it under the terms of the GNU General Public License\n"
"as published by the Free Software Foundation; either version\n"
"2 of the License, or (at your option) any later version.\n\n");
- exit(1);
- break;
+ exit(0);
case 's': /* setup mode */
dosetup = 1;
break;
case 'h':
helpthem();
- exit(1);
- break;
+ exit(0);
case 'p': /* Pseudo terminal to use. */
if (strncmp(optarg, "/dev/", 5) == 0)
optarg += 5;
--
1.7.9.5
Loading…
Cancel
Save