Message ID | 20170603045833.8120-3-raj.khem@gmail.com |
---|---|
State | Accepted |
Commit | 20856770b5eefaeb0a8e2c64df01ea8ed005dc97 |
Headers | show |
Series | [oe,meta-multimedia,1/4] caps: Fix buld with -pie | expand |
Khem, On 06/02/2017 09:58 PM, Khem Raj wrote: > Signed-off-by: Khem Raj <raj.khem@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 \ > " -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
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 @@ +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 \ "
Signed-off-by: Khem Raj <raj.khem@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 -- 2.13.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel