SHA256
1
0
forked from pool/openhpi

- Fix build due to compiler warnings in SLE and Leap 15:

A fix_implicit_declarations.patch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/openhpi?expand=0&rev=39
This commit is contained in:
Thomas Renninger 2018-10-04 14:23:14 +00:00 committed by Git OBS Bridge
parent f36cbd372a
commit 5b9e3a30e8
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,18 @@
Author: Thomas Renninger <trenn@suse.de>
Fix compiler warnings
oa_soap_sensor.c:2209:9: note: include <string.h> or provide a declaration of memcpy
Index: openhpi-3.8.0/plugins/oa_soap/oa_soap_utils.h
===================================================================
--- openhpi-3.8.0.orig/plugins/oa_soap/oa_soap_utils.h 2018-10-04 16:19:50.682977324 +0200
+++ openhpi-3.8.0/plugins/oa_soap/oa_soap_utils.h 2018-10-04 16:20:29.393287079 +0200
@@ -41,6 +41,7 @@
/* Include files */
#include <math.h>
#include <ctype.h>
+#include <string.h>
#include "oa_soap_calls.h"
#include "oa_soap.h"

View File

@ -15,6 +15,8 @@ D openhpi-rpmlintrc
- Disable ipmi plugin (deprecated) -> ipmidirect up-to-date
- Still add a patch that ipmi plugin would still build:
A fix_openipmi_typedef_selector_change.patch
- Fix build due to compiler warnings in SLE and Leap 15:
A fix_implicit_declarations.patch
-------------------------------------------------------------------
Fri Feb 24 16:32:49 UTC 2017 - kkaempf@suse.com

View File

@ -29,6 +29,7 @@ Source2: AUTHORS
Patch0: unlink-pidfile-on-error.patch
Patch2: openhpi-3.4.0-systemd.patch
Patch3: fix_openipmi_typedef_selector_change.patch
Patch4: fix_implicit_declarations.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: docbook-toys