From: | "Johannes Huber (johu)" <johu@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/qt-gstreamer/files: qt-gstreamer-1.2.0-boost157.patch |
Date: | Sat, 30 May 2015 11:39:52 |
Message-Id: | 20150530113948.A4B89A17@oystercatcher.gentoo.org |
1 | johu 15/05/30 11:39:48 |
2 | |
3 | Added: qt-gstreamer-1.2.0-boost157.patch |
4 | Log: |
5 | Add patch to fix build with dev-libs/boost-1.57, bug #550016. Thanks to David Kredba <nheghathivhistha@×××××.com> and Heiko Becker <heirecka@×××××××.org>. |
6 | |
7 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xF3CFD2BD) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-boost157.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-boost157.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/qt-gstreamer/files/qt-gstreamer-1.2.0-boost157.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: qt-gstreamer-1.2.0-boost157.patch |
16 | =================================================================== |
17 | From fbb9dc6e291eaa058f3ef1cd93711265bfbfd162 Mon Sep 17 00:00:00 2001 |
18 | From: Heiko Becker <heirecka@×××××××.org> |
19 | Date: Fri, 7 Nov 2014 00:11:02 +0100 |
20 | Subject: [PATCH] Workaround build failures with boost>=1.57 and moc |
21 | |
22 | Otherwise I get the following error message: |
23 | 'usr/include/boost/type_traits/detail/has_binary_operator.hp:50: |
24 | Parse error at "BOOST_JOIN"'. See |
25 | https://bugreports.qt-project.org/browse/QTBUG-22829 for details. |
26 | |
27 | The old workaround to define BOOST_TT_HAS_OPERATOR_HPP_INCLUDED |
28 | doesn't seem to work here. |
29 | --- |
30 | src/QGlib/connect.cpp | 2 ++ |
31 | 1 file changed, 2 insertions(+) |
32 | |
33 | diff --git a/src/QGlib/connect.cpp b/src/QGlib/connect.cpp |
34 | index 9ff6fde..58a3367 100644 |
35 | --- a/src/QGlib/connect.cpp |
36 | +++ b/src/QGlib/connect.cpp |
37 | @@ -21,8 +21,10 @@ |
38 | #include <QtCore/QHash> |
39 | #include <QtCore/QMutex> |
40 | #include <boost/multi_index_container.hpp> |
41 | +#ifndef Q_MOC_RUN // See: https://bugreports.qt-project.org/browse/QTBUG-22829 |
42 | #include <boost/multi_index/sequenced_index.hpp> |
43 | #include <boost/multi_index/ordered_index.hpp> |
44 | +#endif |
45 | #include <boost/multi_index/member.hpp> |
46 | |
47 | namespace QGlib { |
48 | -- |
49 | 2.1.3 |