Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: qt4-build.eclass
Date: Wed, 26 May 2010 15:17:20
Message-Id: 20100526151718.157152CED0@corvid.gentoo.org
1 hwoarang 10/05/26 15:17:17
2
3 Modified: qt4-build.eclass
4 Log:
5 Apply fvisibility fix for versions > 4.7.0_beta as well
6
7 Revision Changes Path
8 1.72 eclass/qt4-build.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-build.eclass?rev=1.72&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-build.eclass?rev=1.72&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/qt4-build.eclass?r1=1.71&r2=1.72
13
14 Index: qt4-build.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v
17 retrieving revision 1.71
18 retrieving revision 1.72
19 diff -u -r1.71 -r1.72
20 --- qt4-build.eclass 25 May 2010 13:39:46 -0000 1.71
21 +++ qt4-build.eclass 26 May 2010 15:17:17 -0000 1.72
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2009 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.71 2010/05/25 13:39:46 spatz Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.72 2010/05/26 15:17:17 hwoarang Exp $
27
28 # @ECLASS: qt4-build.eclass
29 # @MAINTAINER:
30 @@ -164,7 +164,7 @@
31 cd "${S}"
32
33 # fix qt 4.7 regression that skips -fvisibility=hidden
34 - if [[ "${PV}" == "4.7.0_beta1" ]]; then
35 + if version_is_at_least "4.7.0_beta1"; then
36 sed -e "s/^gcc|g++)/*gcc|*g++)/" \
37 -i config.tests/unix/fvisibility.test ||
38 die "visibility fixing sed failed"