diff options
-rw-r--r-- | meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-ihpm-Include-stdlib.h-for-malloc-free-atoi-functions.patch | 26 | ||||
-rw-r--r-- | meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-ihpm-Include-stdlib.h-for-malloc-free-atoi-functions.patch b/meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-ihpm-Include-stdlib.h-for-malloc-free-atoi-functions.patch new file mode 100644 index 0000000000..1ed6472f6d --- /dev/null +++ b/meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-ihpm-Include-stdlib.h-for-malloc-free-atoi-functions.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 097e108b81f2571c4c51871044adf409b6954649 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 3 Sep 2022 00:44:52 -0700 | ||
4 | Subject: [PATCH] ihpm: Include stdlib.h for malloc/free/atoi functions | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | util/ihpm.c | 1 + | ||
10 | 1 file changed, 1 insertion(+) | ||
11 | |||
12 | diff --git a/util/ihpm.c b/util/ihpm.c | ||
13 | index 740ab74..5ad9ef6 100644 | ||
14 | --- a/util/ihpm.c | ||
15 | +++ b/util/ihpm.c | ||
16 | @@ -68,6 +68,7 @@ typedef uint32_t socklen_t; | ||
17 | #endif | ||
18 | #include <stdio.h> | ||
19 | #include <stdarg.h> | ||
20 | +#include <stdlib.h> /* malloc/free/atoi */ | ||
21 | #include <string.h> | ||
22 | #include <time.h> | ||
23 | |||
24 | -- | ||
25 | 2.37.3 | ||
26 | |||
diff --git a/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb b/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb index d0f3688a25..64bcf5f764 100644 --- a/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb +++ b/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb | |||
@@ -22,6 +22,7 @@ PARALLEL_MAKE = "" | |||
22 | SRC_URI = "${SOURCEFORGE_MIRROR}/ipmiutil/ipmiutil-${PV}.tar.gz \ | 22 | SRC_URI = "${SOURCEFORGE_MIRROR}/ipmiutil/ipmiutil-${PV}.tar.gz \ |
23 | file://fix_systemd_path.patch \ | 23 | file://fix_systemd_path.patch \ |
24 | file://0001-Prevent-access-times-from-changing-resulting-gzip-md.patch \ | 24 | file://0001-Prevent-access-times-from-changing-resulting-gzip-md.patch \ |
25 | file://0001-ihpm-Include-stdlib.h-for-malloc-free-atoi-functions.patch \ | ||
25 | " | 26 | " |
26 | SRC_URI[md5sum] = "292d6df25cad678bb27e5c8cdc6748f9" | 27 | SRC_URI[md5sum] = "292d6df25cad678bb27e5c8cdc6748f9" |
27 | SRC_URI[sha256sum] = "58ccdbd5755d7dd72478756715af09e9c73330dfad2b91dbf03d2ac504b301a3" | 28 | SRC_URI[sha256sum] = "58ccdbd5755d7dd72478756715af09e9c73330dfad2b91dbf03d2ac504b301a3" |