diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2024-03-06 07:42:18 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-07 17:25:02 +0000 |
commit | d339047b836d9d54df1006814f47f72d9d40db38 (patch) | |
tree | fef1da1682c4efc809d51c4829f760cc2f93e7dd /meta/recipes-extended/minicom/minicom/0001-fix-minicom-h-v-return-value-is-not-0.patch | |
parent | 9c0294320887002d26c9108a90e0e8397874d382 (diff) | |
download | poky-d339047b836d9d54df1006814f47f72d9d40db38.tar.gz |
minicom: upgrade 2.8 -> 2.9
Adjust selftest to git-add the directory with newly added patches,
as the new minicom recipe has no default patches, and thus no directory
with them (and the selftest assumed it does).
(From OE-Core rev: 1fb2aa3f242ef20f8edfb518164b629258a04dd4)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/minicom/minicom/0001-fix-minicom-h-v-return-value-is-not-0.patch')
-rw-r--r-- | meta/recipes-extended/minicom/minicom/0001-fix-minicom-h-v-return-value-is-not-0.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-extended/minicom/minicom/0001-fix-minicom-h-v-return-value-is-not-0.patch b/meta/recipes-extended/minicom/minicom/0001-fix-minicom-h-v-return-value-is-not-0.patch deleted file mode 100644 index 9e67126f3e..0000000000 --- a/meta/recipes-extended/minicom/minicom/0001-fix-minicom-h-v-return-value-is-not-0.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | Exit normally for help/verison options | ||
2 | |||
3 | If -v or -h is used for the help/version information, it is a normal exit situation, | ||
4 | not an error condition. Sometimes these are used as a simple operation test of the | ||
5 | resulting binary so the exit code does matter. | ||
6 | |||
7 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
8 | Upstream-Status: Submitted [https://salsa.debian.org/minicom-team/minicom/-/merge_requests/14] | ||
9 | --- | ||
10 | src/minicom.c | 6 ++---- | ||
11 | 1 file changed, 2 insertions(+), 4 deletions(-) | ||
12 | |||
13 | Index: minicom-2.8/src/minicom.c | ||
14 | =================================================================== | ||
15 | --- minicom-2.8.orig/src/minicom.c | ||
16 | +++ minicom-2.8/src/minicom.c | ||
17 | @@ -1257,14 +1257,14 @@ int main(int argc, char **argv) | ||
18 | "modify it under the terms of the GNU General Public License\n" | ||
19 | "as published by the Free Software Foundation; either version\n" | ||
20 | "2 of the License, or (at your option) any later version.\n\n")); | ||
21 | - exit(1); | ||
22 | + exit(0); | ||
23 | break; | ||
24 | case 's': /* setup mode */ | ||
25 | dosetup = 1; | ||
26 | break; | ||
27 | case 'h': | ||
28 | helpthem(); | ||
29 | - exit(1); | ||
30 | + exit(0); | ||
31 | break; | ||
32 | case 'p': /* Pseudo terminal to use. */ | ||
33 | if (strncmp(optarg, "/dev/", 5) == 0) | ||