Blame SOURCES/sblim-wbemcli-1.6.2-gcc47.patch

381993
diff -up sblim-wbemcli-1.6.2/CimCurl.h.orig sblim-wbemcli-1.6.2/CimCurl.h
381993
--- sblim-wbemcli-1.6.2/CimCurl.h.orig	2012-01-05 13:55:30.901154659 +0100
381993
+++ sblim-wbemcli-1.6.2/CimCurl.h	2012-01-05 13:55:44.723271863 +0100
381993
@@ -24,6 +24,7 @@
381993
 #include "CimXml.h"
381993
 #include <curl/curl.h>
381993
 #include <sstream>
381993
+#include <unistd.h>
381993
 
381993
 
381993
 class CimomCurl : public Cimom {
381993
diff -up sblim-wbemcli-1.6.2/CimXml.h.orig sblim-wbemcli-1.6.2/CimXml.h
381993
--- sblim-wbemcli-1.6.2/CimXml.h.orig	2012-01-05 13:54:52.445828446 +0100
381993
+++ sblim-wbemcli-1.6.2/CimXml.h	2012-01-05 13:54:52.449828480 +0100
381993
@@ -129,9 +129,9 @@ template<class T> class ArrayXml : publi
381993
   public:
381993
    ArrayXml() {}
381993
    ArrayXml<T> * clone() const { return new ArrayXml<T>(*this);}
381993
-   void add(const T& t) { push_back(t); }
381993
+   void add(const T& t) { this->push_back(t); }
381993
 #if !defined(GCC_VERSION) || GCC_VERSION >= 3000
381993
-   T& operator[] (size_type n) {return at(n);}
381993
+   T& operator[] (size_type n) {return this->at(n);}
381993
    const T& operator[] (size_type n) const {return at(n);}
381993
 #endif
381993
    T *get(int n)    { return &(*this)[n]; }