]> git.pld-linux.org Git - packages/hugin.git/commitdiff
- upstream fix for building with boost 1.57.0
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 18 Feb 2015 17:23:38 +0000 (18:23 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 18 Feb 2015 17:23:38 +0000 (18:23 +0100)
boost-1.57.0.patch [new file with mode: 0644]
hugin.spec

diff --git a/boost-1.57.0.patch b/boost-1.57.0.patch
new file mode 100644 (file)
index 0000000..ef8ef95
--- /dev/null
@@ -0,0 +1,26 @@
+From 06ccdfee76fe487a141b95848d1c866890f15d88 Mon Sep 17 00:00:00 2001
+From: Evangelos Foutras <evangelos@foutrelis.com>
+Date: Thu, 6 Nov 2014 09:19:26 +0200
+Subject: [PATCH] Add missing include to signals2/trackable.hpp
+
+boost::weak_ptr started being used in commit a0bf2d1 (Disconnect slots
+associated with signals2::trackable immediately) but the matching header
+wasn't included.
+
+https://svn.boost.org/trac/boost/ticket/10100#comment:7
+---
+ include/boost/signals2/trackable.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/boost/signals2/trackable.hpp b/include/boost/signals2/trackable.hpp
+index dba001d..64e8489 100644
+--- a/include/boost/signals2/trackable.hpp
++++ b/include/boost/signals2/trackable.hpp
+@@ -18,6 +18,7 @@
+ #include <boost/assert.hpp>
+ #include <boost/shared_ptr.hpp>
++#include <boost/weak_ptr.hpp>
+ namespace boost {
+   namespace signals2 {
index 72dd13baf73e9b87da9a58cb370a889fe8a26c20..46c7b011688078531282e7aba6ef54bcd3ec2c8d 100644 (file)
@@ -10,6 +10,7 @@ Source0:      http://downloads.sourceforge.net/hugin/%{name}-%{version}.tar.bz2
 Patch0:                %{name}-pl.po-update.patch
 Patch1:                %{name}-cppflags.patch
 Patch2:                %{name}-boost.patch
+Patch3:                boost-1.57.0.patch
 URL:           http://hugin.sourceforge.net/
 BuildRequires: OpenEXR-devel
 BuildRequires: OpenGL-glut-devel
@@ -66,6 +67,7 @@ i ekspozycji, więc warto zainstalować pakiet enblend-enfuse.
 #%patch0 -p1
 %patch1 -p0
 %patch2 -p1
+%patch3 -p1
 
 mv -f src/translations/{cs_CZ,cs}.po
 
This page took 0.052963 seconds and 4 git commands to generate.