Hello community, here is the log from the commit of package spice for openSUSE:Factory checked in at 2012-04-12 09:52:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spice (Old) and /work/SRC/openSUSE:Factory/.spice.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spice", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/spice/spice.changes 2012-04-02 10:31:58.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.spice.new/spice.changes 2012-04-12 09:52:14.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Apr 2 18:55:00 UTC 2012 - [email protected] + +- Add spice-gcc47.patch: Fix build with gcc 4.7. Most of this used + to be in spice-signed-comparison.patch which got dropped with + latest update. + +------------------------------------------------------------------- New: ---- spice-gcc47.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spice.spec ++++++ --- /var/tmp/diff_new_pack.HZwW1T/_old 2012-04-12 09:52:15.000000000 +0200 +++ /var/tmp/diff_new_pack.HZwW1T/_new 2012-04-12 09:52:15.000000000 +0200 @@ -46,6 +46,7 @@ BuildRequires: xorg-x11-libXfixes-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %{realname}-%{realver}%{?extraver}.%{srcext} +Patch0: spice-gcc47.patch ExclusiveArch: %ix86 x86_64 %description @@ -99,6 +100,7 @@ # Preparation step (unpacking and patching if necessary) %prep %setup -q -n %{realname}-%{realver}%{?extraver} +%patch0 -p1 %build %configure \ ++++++ spice-gcc47.patch ++++++ Index: spice-0.10.1/client/cmd_line_parser.cpp =================================================================== --- spice-0.10.1.orig/client/cmd_line_parser.cpp +++ spice-0.10.1/client/cmd_line_parser.cpp @@ -497,10 +497,9 @@ void CmdLineParser::show_help() os << " "; } if (line.size() > HELP_WIDTH) { - int now = HELP_WIDTH; + size_t last_space, now = HELP_WIDTH; std::string sub; sub.append(line, 0, now); - int last_space; if ((last_space = sub.find_last_of(' ')) != std::string::npos) { now = last_space; sub.resize(now++); Index: spice-0.10.1/client/glz_decoder.cpp =================================================================== --- spice-0.10.1.orig/client/glz_decoder.cpp +++ spice-0.10.1/client/glz_decoder.cpp @@ -50,7 +50,7 @@ GlzDecoder::~GlzDecoder() void GlzDecoder::decode_header() { - int magic; + uint32_t magic; int version; uint8_t tmp; int stride; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
