Hello community, here is the log from the commit of package sblim-wbemcli for openSUSE:Factory checked in at 2012-04-02 19:49:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sblim-wbemcli (Old) and /work/SRC/openSUSE:Factory/.sblim-wbemcli.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sblim-wbemcli", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/sblim-wbemcli/sblim-wbemcli.changes 2011-09-23 12:45:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sblim-wbemcli.new/sblim-wbemcli.changes 2012-04-02 19:52:36.000000000 +0200 @@ -1,0 +2,5 @@ +Sat Mar 17 15:01:11 UTC 2012 - [email protected] + +- Add sblim-wbemcli-gcc47.patch: Fix build with gcc 4.7. + +------------------------------------------------------------------- New: ---- sblim-wbemcli-gcc47.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sblim-wbemcli.spec ++++++ --- /var/tmp/diff_new_pack.bnGDew/_old 2012-04-02 19:52:42.000000000 +0200 +++ /var/tmp/diff_new_pack.bnGDew/_new 2012-04-02 19:52:42.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package sblim-wbemcli # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,8 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: sblim-wbemcli %if 0%{?suse_version} > 1010 @@ -25,15 +23,17 @@ # SLE_10 BuildRequires: binutils %endif -BuildRequires: curl-devel gcc-c++ +BuildRequires: curl-devel +BuildRequires: gcc-c++ Version: 1.6.2 -Release: 1 -Group: System/Management -License: EPL-1.0 +Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://sblim.wiki.sourceforge.net/ Source: http://prdownloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2 +Patch0: sblim-wbemcli-gcc47.patch Summary: SBLIM WBEM Command Line Interface +License: EPL-1.0 +Group: System/Management %description WBEM Command Line Interface is a standalone, command line WBEM client. @@ -48,6 +48,7 @@ %prep %setup -q +%patch0 -p1 sed -i 's|wbemcli/samples|wbemcli/examples|' man/wbemcli.1.pre.in sed -i 's|wbemcli/samples|wbemcli/examples|' man/wbemcli.1 ++++++ sblim-wbemcli-gcc47.patch ++++++ Index: sblim-wbemcli-1.6.2/CimXml.h =================================================================== --- sblim-wbemcli-1.6.2.orig/CimXml.h +++ sblim-wbemcli-1.6.2/CimXml.h @@ -129,9 +129,9 @@ template<class T> class ArrayXml : publi public: ArrayXml() {} ArrayXml<T> * clone() const { return new ArrayXml<T>(*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);} + T& operator[] (size_type n) {return this->at(n);} const T& operator[] (size_type n) const {return at(n);} #endif T *get(int n) { return &(*this)[n]; } Index: sblim-wbemcli-1.6.2/CimCurl.cpp =================================================================== --- sblim-wbemcli-1.6.2.orig/CimCurl.cpp +++ sblim-wbemcli-1.6.2/CimCurl.cpp @@ -28,6 +28,7 @@ #endif #include "CimCurl.h" +#include <unistd.h> // gor getpass() extern int useNl; extern int dumpXml; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
