summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/serial-utils
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-31 10:36:06 -0700
committerKhem Raj <raj.khem@gmail.com>2022-09-05 22:49:34 -0700
commitae3c42a322e43c1818fec007985112d183c34e10 (patch)
tree90638aaf24e584032d591c9785c1eeb7ff287d0f /meta-oe/recipes-support/serial-utils
parent6d9b67af955c13a2d3ccab3c8f05b955fc0c7a34 (diff)
downloadmeta-openembedded-ae3c42a322e43c1818fec007985112d183c34e10.tar.gz
serial-forward: Correct typo in specifying string.h header
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/serial-utils')
-rw-r--r--meta-oe/recipes-support/serial-utils/serial-forward/0001-correct-the-typo-in-include-file-name-string.h.patch27
-rw-r--r--meta-oe/recipes-support/serial-utils/serial-forward_git.bb1
2 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/serial-utils/serial-forward/0001-correct-the-typo-in-include-file-name-string.h.patch b/meta-oe/recipes-support/serial-utils/serial-forward/0001-correct-the-typo-in-include-file-name-string.h.patch
new file mode 100644
index 000000000..f65d2c4bb
--- /dev/null
+++ b/meta-oe/recipes-support/serial-utils/serial-forward/0001-correct-the-typo-in-include-file-name-string.h.patch
@@ -0,0 +1,27 @@
1From 2897794c337625d1951eb0b402cd8840ae2182a8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 31 Aug 2022 10:33:57 -0700
4Subject: [PATCH] correct the typo in include file name string.h
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 tools/serial_forward/src/forward.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/tools/serial_forward/src/forward.c b/tools/serial_forward/src/forward.c
13index 9fad6f9b..4c0dd9df 100644
14--- a/tools/serial_forward/src/forward.c
15+++ b/tools/serial_forward/src/forward.c
16@@ -20,7 +20,7 @@
17 #include <stdlib.h>
18 #include <unistd.h>
19 #include <termios.h>
20-#include <strings.h>
21+#include <string.h>
22 #include <getopt.h>
23
24 #include "forward.h"
25--
262.37.3
27
diff --git a/meta-oe/recipes-support/serial-utils/serial-forward_git.bb b/meta-oe/recipes-support/serial-utils/serial-forward_git.bb
index 2eef1db4b..fe5cfc0f4 100644
--- a/meta-oe/recipes-support/serial-utils/serial-forward_git.bb
+++ b/meta-oe/recipes-support/serial-utils/serial-forward_git.bb
@@ -8,6 +8,7 @@ PV = "1.1+gitr${SRCPV}"
8 8
9SRC_URI = "git://github.com/freesmartphone/cornucopia.git;branch=master;protocol=https \ 9SRC_URI = "git://github.com/freesmartphone/cornucopia.git;branch=master;protocol=https \
10 file://0001-serial_forward-Disable-default-static-linking.patch;striplevel=3 \ 10 file://0001-serial_forward-Disable-default-static-linking.patch;striplevel=3 \
11 file://0001-correct-the-typo-in-include-file-name-string.h.patch;striplevel=3 \
11 " 12 "
12S = "${WORKDIR}/git/tools/serial_forward" 13S = "${WORKDIR}/git/tools/serial_forward"
13 14