File sblim-smis-hba-1.0.0.patch of Package sblim-cmpi-smis-hba

diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-sblim-smis-hba-1.0.0/src/cmpiLinux_Common.c ./src/cmpiLinux_Common.c
--- ../orig-sblim-smis-hba-1.0.0/src/cmpiLinux_Common.c	2009-09-01 15:22:40.000000000 +0200
+++ ./src/cmpiLinux_Common.c	2020-10-09 14:42:42.093326443 +0200
@@ -20,6 +20,7 @@
  *
 */
 
+#include <ctype.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-sblim-smis-hba-1.0.0/src/Linux_Common.c ./src/Linux_Common.c
--- ../orig-sblim-smis-hba-1.0.0/src/Linux_Common.c	2009-09-01 15:22:40.000000000 +0200
+++ ./src/Linux_Common.c	2020-10-09 14:43:18.098072785 +0200
@@ -48,7 +48,7 @@
 
 /* ---------------------------------------------------------------------------*/
 
-extern int    _debug;
+int    _debug;
 char * _LINUX_PROVIDER_TRACE_FILE = NULL;
 static int raw_run_command(const char *cmd, char **in, char ***out, char ***err, int have_line);
 
diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-sblim-smis-hba-1.0.0/src/Linux_Common.h ./src/Linux_Common.h
--- ../orig-sblim-smis-hba-1.0.0/src/Linux_Common.h	2009-09-01 15:22:39.000000000 +0200
+++ ./src/Linux_Common.h	2020-10-09 14:43:10.037905705 +0200
@@ -36,7 +36,7 @@
 #define FALSE 0
 #define TRUE  1
 /* ---------------------------------------------------------------------------*/
-int _debug;
+extern int _debug;
 
 //extern char * CIM_HOST_NAME;
 extern char * CIM_OS_NAME;
diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-sblim-smis-hba-1.0.0/src/OSBase_Common.h ./src/OSBase_Common.h
--- ../orig-sblim-smis-hba-1.0.0/src/OSBase_Common.h	2009-09-01 15:22:40.000000000 +0200
+++ ./src/OSBase_Common.h	2020-10-09 14:43:37.314471106 +0200
@@ -38,7 +38,7 @@
 
 /* ---------------------------------------------------------------------------*/
 
-int _debug;
+extern int _debug;
 
 extern char * CIM_HOST_NAME;
 extern char * CIM_OS_NAME;
openSUSE Build Service is sponsored by