From 382ae9eceb2fd9f7f4135c064c963578b71658b0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 24 May 2016 19:30:46 +0000 Subject: [PATCH] - fix building with modern g++ - rel 7 --- Lunchbox.spec | 4 +++- cxx.patch | 13 +++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 cxx.patch 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 ) {} -- 2.43.0