diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-29 16:39:36 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-08-30 00:14:58 -0700 |
commit | a1917e5bde8fd970a68a6b0e12a9d84115d26dab (patch) | |
tree | b7675de0f860486a976bae02bbb0b50c907e59ed | |
parent | c52b9e1a93b82ca481255dd660f29077a1b00840 (diff) | |
download | meta-openembedded-a1917e5bde8fd970a68a6b0e12a9d84115d26dab.tar.gz |
linux-atm: Include missing string.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-networking/recipes-support/linux-atm/linux-atm/0001-include-string-h-from-memcpy-and-strcpy-function-pro.patch | 87 | ||||
-rw-r--r-- | meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb | 3 |
2 files changed, 89 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/linux-atm/linux-atm/0001-include-string-h-from-memcpy-and-strcpy-function-pro.patch b/meta-networking/recipes-support/linux-atm/linux-atm/0001-include-string-h-from-memcpy-and-strcpy-function-pro.patch new file mode 100644 index 0000000000..81c5efd173 --- /dev/null +++ b/meta-networking/recipes-support/linux-atm/linux-atm/0001-include-string-h-from-memcpy-and-strcpy-function-pro.patch | |||
@@ -0,0 +1,87 @@ | |||
1 | From 5217cb7c829cf87771096c4ce41fd4648dca47cb Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 29 Aug 2022 16:36:21 -0700 | ||
4 | Subject: [PATCH] include string,h from memcpy and strcpy function prototype | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | src/led/address.c | 1 + | ||
10 | src/led/display.c | 1 + | ||
11 | src/lib/unix.c | 1 + | ||
12 | src/maint/hediag.c | 1 + | ||
13 | src/sigd/kernel.c | 1 + | ||
14 | src/sigd/policy.c | 1 + | ||
15 | 6 files changed, 6 insertions(+) | ||
16 | |||
17 | diff --git a/src/led/address.c b/src/led/address.c | ||
18 | index 574e881..b5c5fbb 100644 | ||
19 | --- a/src/led/address.c | ||
20 | +++ b/src/led/address.c | ||
21 | @@ -31,6 +31,7 @@ | ||
22 | #endif | ||
23 | |||
24 | #include <sys/ioctl.h> | ||
25 | +#include <string.h> | ||
26 | #include <unistd.h> | ||
27 | #include <errno.h> | ||
28 | |||
29 | diff --git a/src/led/display.c b/src/led/display.c | ||
30 | index d78a15d..b835e89 100644 | ||
31 | --- a/src/led/display.c | ||
32 | +++ b/src/led/display.c | ||
33 | @@ -5,6 +5,7 @@ | ||
34 | #if HAVE_CONFIG_H | ||
35 | #include <config.h> | ||
36 | #endif | ||
37 | +#include <string.h> | ||
38 | |||
39 | #include <atm.h> | ||
40 | #include <atmd.h> | ||
41 | diff --git a/src/lib/unix.c b/src/lib/unix.c | ||
42 | index 34aa465..d5bef54 100644 | ||
43 | --- a/src/lib/unix.c | ||
44 | +++ b/src/lib/unix.c | ||
45 | @@ -8,6 +8,7 @@ | ||
46 | |||
47 | #include <stdlib.h> | ||
48 | #include <stdio.h> | ||
49 | +#include <string.h> | ||
50 | #include <unistd.h> | ||
51 | #include <errno.h> | ||
52 | #include <sys/types.h> | ||
53 | diff --git a/src/maint/hediag.c b/src/maint/hediag.c | ||
54 | index 8a4312a..a4f792f 100644 | ||
55 | --- a/src/maint/hediag.c | ||
56 | +++ b/src/maint/hediag.c | ||
57 | @@ -1,5 +1,6 @@ | ||
58 | #include <stdio.h> | ||
59 | #include <stdlib.h> | ||
60 | +#include <string.h> | ||
61 | #include <unistd.h> | ||
62 | #include <sys/ioctl.h> | ||
63 | #include <sys/types.h> | ||
64 | diff --git a/src/sigd/kernel.c b/src/sigd/kernel.c | ||
65 | index 9ee74b1..2491626 100644 | ||
66 | --- a/src/sigd/kernel.c | ||
67 | +++ b/src/sigd/kernel.c | ||
68 | @@ -8,6 +8,7 @@ | ||
69 | |||
70 | #include <stdlib.h> | ||
71 | #include <stdio.h> | ||
72 | +#include <string.h> | ||
73 | #include <errno.h> | ||
74 | #include <assert.h> | ||
75 | |||
76 | diff --git a/src/sigd/policy.c b/src/sigd/policy.c | ||
77 | index 2cfb42d..87223a7 100644 | ||
78 | --- a/src/sigd/policy.c | ||
79 | +++ b/src/sigd/policy.c | ||
80 | @@ -6,6 +6,7 @@ | ||
81 | #include <config.h> | ||
82 | #endif | ||
83 | |||
84 | +#include <string.h> | ||
85 | #include <atm.h> | ||
86 | #include <atmd.h> | ||
87 | |||
diff --git a/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb b/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb index bb79b78568..70125102cd 100644 --- a/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb +++ b/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb | |||
@@ -14,7 +14,8 @@ SRC_URI = "http://nchc.dl.sourceforge.net/project/${BPN}/${BPN}/${PV}/${BPN}-${P | |||
14 | file://0001-IFNAMSIZ-is-defined-in-net-if.h.patch \ | 14 | file://0001-IFNAMSIZ-is-defined-in-net-if.h.patch \ |
15 | file://0001-saaldump-atmdump-Include-linux-sockios.h-for-SIOCGST.patch \ | 15 | file://0001-saaldump-atmdump-Include-linux-sockios.h-for-SIOCGST.patch \ |
16 | file://0001-make-Add-PREFIX-knob.patch \ | 16 | file://0001-make-Add-PREFIX-knob.patch \ |
17 | " | 17 | file://0001-include-string-h-from-memcpy-and-strcpy-function-pro.patch \ |
18 | " | ||
18 | 19 | ||
19 | SRC_URI:append:libc-musl = " file://musl-no-on_exit.patch" | 20 | SRC_URI:append:libc-musl = " file://musl-no-on_exit.patch" |
20 | 21 | ||