forked from pool/cmis-client
Accepting request 305631 from devel:libraries:c_c++
1 OBS-URL: https://build.opensuse.org/request/show/305631 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmis-client?expand=0&rev=15
This commit is contained in:
commit
76f6147e43
1266
0001-fix-boost-configuration-with-gcc-5.patch
Normal file
1266
0001-fix-boost-configuration-with-gcc-5.patch
Normal file
File diff suppressed because it is too large
Load Diff
25
0002-avoid-use-after-delete.patch
Normal file
25
0002-avoid-use-after-delete.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 58130d0f774242da1177ae2f77a711e7aaa8ab7d Mon Sep 17 00:00:00 2001
|
||||||
|
From: David Tardon <dtardon@redhat.com>
|
||||||
|
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
|
||||||
|
|
@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 6 17:10:00 UTC 2015 - fstrba@suse.com
|
||||||
|
|
||||||
|
- 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 - coolo@suse.com
|
||||||
|
|
||||||
|
- fix-boost-with-gcc5.patch: upsream patch to support gcc5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 6 14:56:37 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- use upstream source url
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 27 16:31:25 UTC 2014 - p.drouand@gmail.com
|
Sat Dec 27 16:31:25 UTC 2014 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cmis-client
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,7 +26,11 @@ Summary: Sample CMIS client
|
|||||||
License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
|
License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://sourceforge.net/projects/libcmis/
|
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: boost-devel >= 1.42
|
||||||
BuildRequires: docbook2X
|
BuildRequires: docbook2X
|
||||||
@ -34,6 +38,7 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: libcppunit-devel
|
BuildRequires: libcppunit-devel
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
@ -80,8 +85,14 @@ This allows C applications to connect to any CMIS-enabled repositories. It is on
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
libtoolize --force --copy
|
||||||
|
aclocal -I m4
|
||||||
|
automake -a -c --foreign
|
||||||
|
autoconf
|
||||||
export CFLAGS="%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS)"
|
export CFLAGS="%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS)"
|
||||||
export CXXFLAGS="%{optflags} $(getconf LFS_CFLAGS)"
|
export CXXFLAGS="%{optflags} $(getconf LFS_CFLAGS)"
|
||||||
%configure \
|
%configure \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user