From: | "Ryan Hill (dirtyepic)" <dirtyepic@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-visualization/qtiplot/files: qtiplot-0.9.7.7-gcc44.patch |
Date: | Wed, 29 Jul 2009 04:14:01 |
Message-Id: | E1MW0YB-0003hm-1h@stork.gentoo.org |
1 | dirtyepic 09/07/29 04:13:59 |
2 | |
3 | Added: qtiplot-0.9.7.7-gcc44.patch |
4 | Log: |
5 | Fix building w/ GCC 4.4. (bug #272375) |
6 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sci-visualization/qtiplot/files/qtiplot-0.9.7.7-gcc44.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/files/qtiplot-0.9.7.7-gcc44.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/files/qtiplot-0.9.7.7-gcc44.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: qtiplot-0.9.7.7-gcc44.patch |
15 | =================================================================== |
16 | --- qtiplot-0.9.7.7-orig/3rdparty/qwtplot3d/src/qwt3d_function.cpp |
17 | +++ qtiplot-0.9.7.7/3rdparty/qwtplot3d/src/qwt3d_function.cpp |
18 | @@ -1,3 +1,4 @@ |
19 | +#include <cstdio> |
20 | #include "qwt3d_surfaceplot.h" |
21 | #include "qwt3d_function.h" |
22 | |
23 | --- qtiplot-0.9.7.7-orig/qtiplot/src/scripting/ScriptEdit.cpp |
24 | +++ qtiplot-0.9.7.7/qtiplot/src/scripting/ScriptEdit.cpp |
25 | @@ -291,7 +291,7 @@ void ScriptEdit::insertErrorMsg(const QS |
26 | console->setPlainText(err); |
27 | if (!console->isVisible()) |
28 | ((QDockWidget *)console->parent())->show(); |
29 | -#elif |
30 | +#else |
31 | int start = printCursor.position(); |
32 | printCursor.insertText(err); |
33 | printCursor.setPosition(start, QTextCursor::KeepAnchor); |