diff options
| -rw-r--r-- | meta-oe/recipes-support/openipmi/files/include_sys_types.patch | 17 | ||||
| -rw-r--r-- | meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb | 1 |
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 0000000000..58ec5d8834 --- /dev/null +++ b/meta-oe/recipes-support/openipmi/files/include_sys_types.patch | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | include sys/types.h for u_int32_t | ||
| 2 | |||
| 3 | ui.c:340:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? | ||
| 4 | u_int32_t addr; | ||
| 5 | ^~~~~~~~~ | ||
| 6 | Index: 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 82e8cac3ec..9f4b0ff266 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 | " |
