File LMS-5.0.0.30.patch of Package intel-iamt-lms

diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-LMS-5.0.0.30/src/tools/ATNetworkTool.cpp ./src/tools/ATNetworkTool.cpp
--- ../orig-LMS-5.0.0.30/src/tools/ATNetworkTool.cpp	2008-07-08 12:50:24.000000000 +0200
+++ ./src/tools/ATNetworkTool.cpp	2015-05-21 13:55:42.571630256 +0200
@@ -44,7 +44,7 @@
 
 bool ATNetworkTool::GetHostNameDomain(const char *name, std::string &domain)
 {
-	char *domp = strchr(name, '.');
+	const char *domp = strchr(name, '.');
 	if (domp) {
 		domp++;
 		if (*domp) {
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-LMS-5.0.0.30/src/tools/ATVersion.cpp ./src/tools/ATVersion.cpp
--- ../orig-LMS-5.0.0.30/src/tools/ATVersion.cpp	2008-07-08 12:50:24.000000000 +0200
+++ ./src/tools/ATVersion.cpp	2015-05-21 13:53:17.485378356 +0200
@@ -40,6 +40,7 @@
 #include <cerrno>
 #include <fstream>
 #include <dirent.h>
+#include <unistd.h>
 
 #define AT_VERSION_ARGUMENT "--version"
 #define AT_VERSION_MAXSIZE 40
openSUSE Build Service is sponsored by