diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2010-04-11 21:09:12 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2010-04-11 21:09:12 +0000 |
commit | 9b41f069b3e5804ac12f1c635a19b22bd86c5754 (patch) | |
tree | f4448171dbd88b16cc5a84791809a30d8138c439 /sys-auth | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-9b41f069b3e5804ac12f1c635a19b22bd86c5754.tar.gz gentoo-2-9b41f069b3e5804ac12f1c635a19b22bd86c5754.tar.bz2 gentoo-2-9b41f069b3e5804ac12f1c635a19b22bd86c5754.zip |
Fix build w/ GCC 4.5. (bug #314471 by Bernd Buschinski)
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/polkit-kde/ChangeLog | 6 | ||||
-rw-r--r-- | sys-auth/polkit-kde/files/polkit-kde-0.95.1-gcc45.patch | 14 | ||||
-rw-r--r-- | sys-auth/polkit-kde/polkit-kde-0.95.1.ebuild | 4 |
3 files changed, 22 insertions, 2 deletions
diff --git a/sys-auth/polkit-kde/ChangeLog b/sys-auth/polkit-kde/ChangeLog index 3d0018cf5578..b75579c8d6e1 100644 --- a/sys-auth/polkit-kde/ChangeLog +++ b/sys-auth/polkit-kde/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-auth/polkit-kde # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit-kde/ChangeLog,v 1.2 2010/02/23 08:07:21 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit-kde/ChangeLog,v 1.3 2010/04/11 21:09:12 dirtyepic Exp $ + + 11 Apr 2010; Ryan Hill <dirtyepic@gentoo.org> polkit-kde-0.95.1.ebuild, + +files/polkit-kde-0.95.1-gcc45.patch: + Fix build w/ GCC 4.5. (bug #314471 by Bernd Buschinski) 23 Feb 2010; Joseph Jezak <josejx@gentoo.org> polkit-kde-0.95.1.ebuild: Marked ~ppc/~ppc64 for bug #296548. diff --git a/sys-auth/polkit-kde/files/polkit-kde-0.95.1-gcc45.patch b/sys-auth/polkit-kde/files/polkit-kde-0.95.1-gcc45.patch new file mode 100644 index 000000000000..9f83fc00d02d --- /dev/null +++ b/sys-auth/polkit-kde/files/polkit-kde-0.95.1-gcc45.patch @@ -0,0 +1,14 @@ +http://bugs.gentoo.org/314471 +http://websvn.kde.org/trunk/extragear/base/polkit-kde-1/agent/AuthDialog.cpp?r1=1065570&r2=1073600 + +--- trunk/extragear/base/polkit-kde-1/agent/AuthDialog.cpp ++++ trunk/extragear/base/polkit-kde-1/agent/AuthDialog.cpp +@@ -195,7 +195,7 @@ + foreach(PolkitQt1::Identity *identity, identities) { + // First check to see if the user is valid + qDebug() << "User: " << identity; +- KUser user = KUser::KUser(identity->toString().remove("unix-user:")); ++ KUser user(identity->toString().remove("unix-user:")); + if (!user.isValid()) { + kWarning() << "User invalid: " << user.loginName(); + continue; diff --git a/sys-auth/polkit-kde/polkit-kde-0.95.1.ebuild b/sys-auth/polkit-kde/polkit-kde-0.95.1.ebuild index 773649febacd..e483b17cdd0b 100644 --- a/sys-auth/polkit-kde/polkit-kde-0.95.1.ebuild +++ b/sys-auth/polkit-kde/polkit-kde-0.95.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit-kde/polkit-kde-0.95.1.ebuild,v 1.2 2010/02/23 08:07:21 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit-kde/polkit-kde-0.95.1.ebuild,v 1.3 2010/04/11 21:09:12 dirtyepic Exp $ EAPI="2" @@ -28,3 +28,5 @@ DEPEND=" RDEPEND="${DEPEND}" [[ ${PV} = *9999* ]] || S="${WORKDIR}/${MY_P}" + +PATCHES+="${FILESDIR}/${P}-gcc45.patch" # 314471 - fixed upstream for next version |