1 |
hwoarang 11/09/06 09:00:43 |
2 |
|
3 |
Added: pencil-0.4.4_beta-gcc461.patch |
4 |
Log: |
5 |
Add patch for gcc-4.6.1. Bug #381063. Thanks to Helmut Jarausch <jarausch@××××××××××××××××.de> |
6 |
|
7 |
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-gfx/pencil/files/pencil-0.4.4_beta-gcc461.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/pencil/files/pencil-0.4.4_beta-gcc461.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/pencil/files/pencil-0.4.4_beta-gcc461.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: pencil-0.4.4_beta-gcc461.patch |
16 |
=================================================================== |
17 |
--- src/graphics/vector/beziercurve.cpp 2007-07-14 21:41:33.000000000 +0200 |
18 |
+++ src/graphics/vector/beziercurve.cpp 2011-08-29 16:19:08.930675072 +0200 |
19 |
@@ -700,9 +700,9 @@ |
20 |
R1.setTopLeft(P1); R1.setBottomRight(Q1); |
21 |
R2.setTopLeft(P2); R2.setBottomRight(Q2); |
22 |
|
23 |
- //QPointF intersectionPoint = QPointF(50.0, 50.0); // bogus point |
24 |
+ QPointF intersectionPoint = QPointF(50.0, 50.0); // bogus point |
25 |
//QPointF* intersection = &intersectionPoint; |
26 |
- QPointF* cubicIntersection = &QPointF(50.0, 50.0); // bogus point |
27 |
+ QPointF* cubicIntersection = &intersectionPoint; // bogus point |
28 |
if( R1.intersects(R2) || L2.intersect(L1, cubicIntersection) == QLineF::BoundedIntersection ) { |
29 |
//if(L2.intersect(L1, intersection) == QLineF::BoundedIntersection) { |
30 |
//qDebug() << " FOUND rectangle intersection "; |