From: | "Alex Alexander (wired)" <wired@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-client/arora/files: arora-0.10.2_qt_4.7_build_fix.patch |
Date: | Sat, 28 Aug 2010 13:43:28 |
Message-Id: | 20100828134325.3147820054@flycatcher.gentoo.org |
1 | wired 10/08/28 13:43:25 |
2 | |
3 | Added: arora-0.10.2_qt_4.7_build_fix.patch |
4 | Log: |
5 | fixed compilation with qt 4.7, bug #335011 |
6 | |
7 | (Portage version: 2.2_rc71/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 www-client/arora/files/arora-0.10.2_qt_4.7_build_fix.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/arora/files/arora-0.10.2_qt_4.7_build_fix.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/arora/files/arora-0.10.2_qt_4.7_build_fix.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: arora-0.10.2_qt_4.7_build_fix.patch |
16 | =================================================================== |
17 | From 5ca8d4b93a284d2e96ba9c2413c4060814258a95 Mon Sep 17 00:00:00 2001 |
18 | From: Benjamin Poulain <benjamin.poulain@×××××.com> |
19 | Date: Fri, 7 May 2010 12:28:32 +0200 |
20 | Subject: [PATCH 02/16] QtWebKit 2.0 declare a meta type for QWebElement |
21 | |
22 | Fix the compilation of Arora with QtWebKit 2.0. QtWebKit 2 already |
23 | declare the meta type, declaring it in Arora results in a clash of |
24 | symbols. |
25 | --- |
26 | src/webview.cpp | 2 ++ |
27 | 1 files changed, 2 insertions(+), 0 deletions(-) |
28 | |
29 | diff --git a/src/webview.cpp b/src/webview.cpp |
30 | index 30df9a6..43eeeb9 100644 |
31 | --- a/src/webview.cpp |
32 | +++ b/src/webview.cpp |
33 | @@ -87,7 +87,9 @@ |
34 | #include <qwebframe.h> |
35 | |
36 | #if QT_VERSION >= 0x040600 || defined(WEBKIT_TRUNK) |
37 | +#if !defined(QTWEBKIT_VERSION) || QTWEBKIT_VERSION < 0x020000 |
38 | Q_DECLARE_METATYPE(QWebElement) |
39 | +#endif |
40 | #include <qinputdialog.h> |
41 | #include <qlabel.h> |
42 | #include <qmessagebox.h> |
43 | -- |
44 | 1.7.2.2 |