diff --git a/net-mgmt/sblim-wbemcli/Makefile b/net-mgmt/sblim-wbemcli/Makefile index 7a0ada7161fe..e4d734019078 100644 --- a/net-mgmt/sblim-wbemcli/Makefile +++ b/net-mgmt/sblim-wbemcli/Makefile @@ -1,19 +1,18 @@ PORTNAME= sblim-wbemcli -PORTVERSION= 1.6.1 -PORTREVISION= 5 +PORTVERSION= 1.6.3 CATEGORIES= net-mgmt MASTER_SITES= SF/sblim/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= CLI for Web Based Enterprise Management by SBLIM BUILD_DEPENDS= libwww-config:www/libwww LIB_DEPENDS= libcurl.so:ftp/curl -USES= tar:bzip2 +USES= tar:bzip2 GNU_CONFIGURE= YES +MAKE_ARGS= RM="${RM}" CPPFLAGS+= -I${PREFIX}/include LDFLAGS+= -L${PREFIX}/lib -MAKE_ARGS= RM="${RM}" .include diff --git a/net-mgmt/sblim-wbemcli/distinfo b/net-mgmt/sblim-wbemcli/distinfo index 71cdb338d9ef..601307ce5a6a 100644 --- a/net-mgmt/sblim-wbemcli/distinfo +++ b/net-mgmt/sblim-wbemcli/distinfo @@ -1,2 +1,3 @@ -SHA256 (sblim-wbemcli-1.6.1.tar.bz2) = 6d3b5d6ef2cd0b6fab282aabfdedf8d6a0b3e4a2743ddd7bb2def9e8cad71fac -SIZE (sblim-wbemcli-1.6.1.tar.bz2) = 189383 +TIMESTAMP = 1633986312 +SHA256 (sblim-wbemcli-1.6.3.tar.bz2) = e493065a6a485ef19cdae5d2bb1561eb9aa4b3d53f35237f6c32cf101a93a796 +SIZE (sblim-wbemcli-1.6.3.tar.bz2) = 198866 diff --git a/net-mgmt/sblim-wbemcli/files/patch-CimCurl.cpp b/net-mgmt/sblim-wbemcli/files/patch-CimCurl.cpp index 82a8b0f3a154..55546c85b97a 100644 --- a/net-mgmt/sblim-wbemcli/files/patch-CimCurl.cpp +++ b/net-mgmt/sblim-wbemcli/files/patch-CimCurl.cpp @@ -1,10 +1,10 @@ ---- CimCurl.cpp.orig 2009-03-04 19:10:54.000000000 +0000 +--- CimCurl.cpp.orig 2013-09-20 23:26:32 UTC +++ CimCurl.cpp @@ -27,6 +27,7 @@ #include #endif +#include #include "CimCurl.h" - - extern int useNl; + #include // for getpass() + #include diff --git a/net-mgmt/sblim-wbemcli/files/patch-CimXml.h b/net-mgmt/sblim-wbemcli/files/patch-CimXml.h index 1d312c7488b8..734c69c437a5 100644 --- a/net-mgmt/sblim-wbemcli/files/patch-CimXml.h +++ b/net-mgmt/sblim-wbemcli/files/patch-CimXml.h @@ -1,25 +1,11 @@ ---- CimXml.h.orig 2009-06-24 17:44:48.000000000 +0000 +--- CimXml.h.orig 2013-03-25 04:05:49 UTC +++ CimXml.h -@@ -54,7 +54,7 @@ class StringArray : public vector { StringArray() : vector() {} StringArray(int n) : vector(n) {} StringArray(int n, const string& s) : vector(n,s) {} - void add(const string& t) { push_back(t); } + void add(const string& t) { this->push_back(t); } void toStringBuffer(string &sb, const char *sep=" ",const char *q="") { for (size_type n=0; n class ArrayXml : publi - public: - ArrayXml() {} - ArrayXml * clone() const { return new ArrayXml(*this);} -- void add(const T& t) { push_back(t); } -+ void add(const T& t) { this->push_back(t); } - #if !defined(GCC_VERSION) || GCC_VERSION >= 3000 -- T& operator[] (size_type n) {return at(n);} -- const T& operator[] (size_type n) const {return at(n);} -+ T& operator[] (size_type n) {return this->at(n);} -+ const T& operator[] (size_type n) const {return this->at(n);} - #endif - T *get(int n) { return &(*this)[n]; } - void toStringBuffer(string &sb, const char *sep=" ",const char *q="") {