Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/videocut/files: 01-fix-hardened-ftbfs.diff
Date: Wed, 16 Nov 2011 17:44:45
Message-Id: 20111116172814.BB86120054@flycatcher.gentoo.org
1 xarthisius 11/11/16 17:28:14
2
3 Added: 01-fix-hardened-ftbfs.diff
4 Log:
5 non-maintainer commit: add missing dependency on x11-libs/qt-svg:4, fix building on hardened/with gcc-4.6 wrt #380439, drop redundant src_configure(), use qt4-r2.eclass
6
7 (Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-video/videocut/files/01-fix-hardened-ftbfs.diff
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/videocut/files/01-fix-hardened-ftbfs.diff?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/videocut/files/01-fix-hardened-ftbfs.diff?rev=1.1&content-type=text/plain
14
15 Index: 01-fix-hardened-ftbfs.diff
16 ===================================================================
17 # Fix FTBFS with enabled hardened flags and gcc-4.6 failure
18 # https://bugs.gentoo.org/show_bug.cgi?id=380439
19
20 --- a/src/TPreviewPanel/TPreviewPanel.cpp
21 +++ b/src/TPreviewPanel/TPreviewPanel.cpp
22 @@ -167,7 +167,9 @@
23
24 void TPreviewPanel::adjustItems()
25 {
26 - backgroundRect->setSize(&QRectF(0, 0, 1, 1));
27 + QRectF myRect(0, 0, 1, 1);
28 + backgroundRect->setSize(&myRect);
29 +
30 logo->setSize(QRect(0, 0, 1, 1));
31
32 // adjust meta text