summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-06-02 21:58:32 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-06-12 06:56:44 +0200
commit20856770b5eefaeb0a8e2c64df01ea8ed005dc97 (patch)
tree44a7feee39f7ceb620f7c62ac01c120f6065501d /meta-oe/recipes-support
parent7ef21540318bd890646dc33f89ff01f76d4c55c7 (diff)
downloadmeta-openembedded-20856770b5eefaeb0a8e2c64df01ea8ed005dc97.tar.gz
openipmi: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/openipmi/files/include_sys_types.patch17
-rw-r--r--meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb1
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/openipmi/files/include_sys_types.patch b/meta-oe/recipes-support/openipmi/files/include_sys_types.patch
new file mode 100644
index 000000000..58ec5d883
--- /dev/null
+++ b/meta-oe/recipes-support/openipmi/files/include_sys_types.patch
@@ -0,0 +1,17 @@
1include sys/types.h for u_int32_t
2
3ui.c:340:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
4 u_int32_t addr;
5 ^~~~~~~~~
6Index: OpenIPMI-2.0.22/ui/ui.c
7===================================================================
8--- OpenIPMI-2.0.22.orig/ui/ui.c
9+++ OpenIPMI-2.0.22/ui/ui.c
10@@ -42,6 +42,7 @@
11 #include <fcntl.h>
12 #include <time.h>
13 #include <sys/time.h>
14+#include <sys/types.h>
15 #include <ctype.h>
16
17 #include <OpenIPMI/selector.h>
diff --git a/meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb b/meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb
index 82e8cac3e..9f4b0ff26 100644
--- a/meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb
+++ b/meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb
@@ -30,6 +30,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/openipmi/OpenIPMI-${PV}.tar.gz \
30 file://ipmi-init-fix-the-arguments.patch \ 30 file://ipmi-init-fix-the-arguments.patch \
31 file://makefile-add-ldflags.patch \ 31 file://makefile-add-ldflags.patch \
32 file://do-not-install-pyc-and-pyo.patch \ 32 file://do-not-install-pyc-and-pyo.patch \
33 file://include_sys_types.patch \
33 file://openipmi-helper \ 34 file://openipmi-helper \
34 file://ipmi.service \ 35 file://ipmi.service \
35 " 36 "