forked from pool/ipmitool
Thomas Renninger
31281a73e0
1) exchange-bmc-os-info - fate#315999 Shows SLES string as OS in the service processor info 2) bmc-snmp-proxy - fate#316000 Exports sel (BMC Error log) via snmpd 3) ipmievd - fate#316002 Logs sel to syslog 1. and 2. are very Dell specific and should not get enabled by default 3. got converted to a native systemd service. Still needs autoconf adjusting to get send mainline 1. and 2. have somewhat bigger Init V init scripts and time was not enough to convert them. Therefore they were added via insserv and friends as well OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=20
44 lines
1.0 KiB
Diff
44 lines
1.0 KiB
Diff
More compiler warning fixes
|
|
|
|
These were in SUSE distris for quite some time and got
|
|
forwardported from 1.8.10 to 1.8.11.
|
|
|
|
|
|
Index: lib/ipmi_sdradd.c
|
|
===================================================================
|
|
--- lib/ipmi_sdradd.c.orig
|
|
+++ lib/ipmi_sdradd.c
|
|
@@ -38,6 +38,7 @@
|
|
#include <stdio.h>
|
|
#include <time.h>
|
|
#include <fcntl.h>
|
|
+#include <unistd.h>
|
|
|
|
#include <ipmitool/helper.h>
|
|
#include <ipmitool/log.h>
|
|
Index: lib/ipmi_hpmfwupg.c
|
|
===================================================================
|
|
--- lib/ipmi_hpmfwupg.c.orig
|
|
+++ lib/ipmi_hpmfwupg.c
|
|
@@ -40,6 +40,8 @@
|
|
#include "../src/plugins/lan/md5.h"
|
|
#include <stdio.h>
|
|
#include <time.h>
|
|
+#include <ctype.h>
|
|
+#include <unistd.h>
|
|
#include <sys/param.h>
|
|
|
|
#if HAVE_CONFIG_H
|
|
Index: configure.in
|
|
===================================================================
|
|
--- configure.in.orig
|
|
+++ configure.in
|
|
@@ -25,6 +25,7 @@ AC_CHECK_HEADERS([sys/byteorder.h bytesw
|
|
AC_C_CONST
|
|
AC_C_INLINE
|
|
AC_C_BIGENDIAN
|
|
+AC_GNU_SOURCE
|
|
|
|
AC_FUNC_MALLOC
|
|
AC_FUNC_SELECT_ARGTYPES
|