Hello community, here is the log from the commit of package cmis-client for openSUSE:Factory checked in at 2015-05-10 10:54:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cmis-client (Old) and /work/SRC/openSUSE:Factory/.cmis-client.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cmis-client" Changes: -------- --- /work/SRC/openSUSE:Factory/cmis-client/cmis-client.changes 2015-01-09 01:11:33.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.cmis-client.new/cmis-client.changes 2015-05-10 10:54:15.000000000 +0200 @@ -1,0 +2,22 @@ +Wed May 6 17:10:00 UTC 2015 - [email protected] + +- Added patches: + * 0001-fix-boost-configuration-with-gcc-5.patch + - Upstream fix for boost detection with gcc5 + * 0002-avoid-use-after-delete.patch + - Upstream fix for test-ws failure +- Removed patch: + * fix-boost-with-gcc5.patch + - Superseded by the two previous patches + +------------------------------------------------------------------- +Wed May 6 15:05:04 UTC 2015 - [email protected] + +- fix-boost-with-gcc5.patch: upsream patch to support gcc5 + +------------------------------------------------------------------- +Wed May 6 14:56:37 UTC 2015 - [email protected] + +- use upstream source url + +------------------------------------------------------------------- New: ---- 0001-fix-boost-configuration-with-gcc-5.patch 0002-avoid-use-after-delete.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cmis-client.spec ++++++ --- /var/tmp/diff_new_pack.cjm21i/_old 2015-05-10 10:54:16.000000000 +0200 +++ /var/tmp/diff_new_pack.cjm21i/_new 2015-05-10 10:54:16.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package cmis-client # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,11 @@ License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://sourceforge.net/projects/libcmis/ -Source0: %{_name}-%{version}.tar.gz +Source0: http://downloads.sourceforge.net/project/libcmis/%{_name}-%{version}.tar.gz +# Upstream patch to fix building with gcc5 +Patch0: 0001-fix-boost-configuration-with-gcc-5.patch +# Upstream patch to fix test failures with gcc5 +Patch1: 0002-avoid-use-after-delete.patch BuildRequires: boost-devel >= 1.42 BuildRequires: docbook2X @@ -34,6 +38,7 @@ BuildRequires: intltool BuildRequires: libcppunit-devel BuildRequires: libcurl-devel +BuildRequires: libtool BuildRequires: libxml2-devel BuildRequires: libxslt BuildRequires: pkg-config @@ -80,8 +85,14 @@ %prep %setup -q -n %{_name}-%{version} +%patch0 -p1 +%patch1 -p1 %build +libtoolize --force --copy +aclocal -I m4 +automake -a -c --foreign +autoconf export CFLAGS="%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS)" export CXXFLAGS="%{optflags} $(getconf LFS_CFLAGS)" %configure \ ++++++ 0001-fix-boost-configuration-with-gcc-5.patch ++++++ ++++ 1266 lines (skipped) ++++++ 0002-avoid-use-after-delete.patch ++++++ >From 58130d0f774242da1177ae2f77a711e7aaa8ab7d Mon Sep 17 00:00:00 2001 From: David Tardon <[email protected]> Date: Thu, 26 Feb 2015 14:48:27 +0100 Subject: [PATCH 2/2] avoid use-after-delete --- qa/mockup/mockup-config.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/mockup/mockup-config.cxx b/qa/mockup/mockup-config.cxx index 7918cef..01fec24 100644 --- a/qa/mockup/mockup-config.cxx +++ b/qa/mockup/mockup-config.cxx @@ -49,7 +49,7 @@ namespace } } - const char** lcl_toStringArray( vector< string > vect ) + const char** lcl_toStringArray( const vector< string >& vect ) { const char** array = new const char*[vect.size() + 1]; for ( size_t i = 0; i < vect.size( ); i++ ) -- 2.3.7
