[oe] [meta-oe][PATCH 3/4] openipmi: Fix build with musl

akuster808 akuster808 at gmail.com
Sat Jun 3 15:18:38 UTC 2017


Khem,


On 06/02/2017 09:58 PM, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>   .../openipmi/files/include_sys_types.patch              | 17 +++++++++++++++++
>   meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb     |  1 +
>   2 files changed, 18 insertions(+)
>   create mode 100644 meta-oe/recipes-support/openipmi/files/include_sys_types.patch
>
> 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
isn't this missing Upstream-Status and Signed-off-by?

- armin
> @@ -0,0 +1,17 @@
> +include sys/types.h for u_int32_t
> +
> +ui.c:340:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
> +     u_int32_t     addr;
> +     ^~~~~~~~~
> +Index: OpenIPMI-2.0.22/ui/ui.c
> +===================================================================
> +--- OpenIPMI-2.0.22.orig/ui/ui.c
> ++++ OpenIPMI-2.0.22/ui/ui.c
> +@@ -42,6 +42,7 @@
> + #include <fcntl.h>
> + #include <time.h>
> + #include <sys/time.h>
> ++#include <sys/types.h>
> + #include <ctype.h>
> +
> + #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 \
>              file://ipmi-init-fix-the-arguments.patch \
>              file://makefile-add-ldflags.patch \
>              file://do-not-install-pyc-and-pyo.patch \
> +           file://include_sys_types.patch \
>              file://openipmi-helper \
>              file://ipmi.service \
>              "




More information about the Openembedded-devel mailing list