[packages/Lunchbox] - fix building with modern g++ - rel 7

baggins baggins at pld-linux.org
Tue May 24 21:31:03 CEST 2016


commit 382ae9eceb2fd9f7f4135c064c963578b71658b0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue May 24 19:30:46 2016 +0000

    - fix building with modern g++
    - rel 7

 Lunchbox.spec |  4 +++-
 cxx.patch     | 13 +++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/Lunchbox.spec b/Lunchbox.spec
index d3ab7a0..9e454ab 100644
--- a/Lunchbox.spec
+++ b/Lunchbox.spec
@@ -8,7 +8,7 @@ Summary:	Lunchbox - C++ library for multi-threading programming
 Summary(pl.UTF-8):	Lunchbox - biblioteka C++ do programowania wielowątkowego
 Name:		Lunchbox
 Version:	1.10.0
-Release:	6
+Release:	7
 License:	LGPL v2.1
 Group:		Libraries
 Source0:	https://github.com/Eyescale/Lunchbox/archive/%{version}/%{name}-%{version}.tar.gz
@@ -17,6 +17,7 @@ Source1:	https://github.com/Eyescale/CMake/archive/139ce7d/Eyescale-CMake-139ce7
 # Source1-md5:	4a6abcd9e0fc417528a8ca68a97e65eb
 Patch0:		disable-broken-cmakefiles.patch
 Patch1:		boost-1.57.0.patch
+Patch2:		cxx.patch
 URL:		http://pogl.wordpress.com/category/lunchbox/
 BuildRequires:	avahi-devel
 BuildRequires:	boost-devel >= 1.41.0
@@ -86,6 +87,7 @@ Dokumentacja API biblioteki Lunchbox.
 
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 install -d build
diff --git a/cxx.patch b/cxx.patch
new file mode 100644
index 0000000..4dcfedd
--- /dev/null
+++ b/cxx.patch
@@ -0,0 +1,13 @@
+--- Lunchbox-1.10.0/tests/refPtr.cpp~	2014-10-09 10:14:54.000000000 +0000
++++ Lunchbox-1.10.0/tests/refPtr.cpp	2016-05-24 19:29:04.438092680 +0000
+@@ -38,9 +38,9 @@
+ {
+ public:
+     Foo() {}
++    virtual ~Foo() {}
+ 
+ private:
+-    virtual ~Foo() {}
+ 
+     friend class boost::serialization::access;
+     template< class Archive > void serialize( Archive&, unsigned int ) {}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Lunchbox.git/commitdiff/382ae9eceb2fd9f7f4135c064c963578b71658b0



More information about the pld-cvs-commit mailing list