summaryrefslogtreecommitdiffstats
path: root/kde
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2010-10-22 14:48:36 +0200
committersibel <lesibel@free.fr>2010-10-22 14:48:36 +0200
commit4d06196f8f9c7ff3f53b13245860a0651fdf4188 (patch)
tree42897e384711cf7003e63451c1872ef9af907acf /kde
parent6ed6dff2c7e34ecaca19622fd81f9b636d98e16c (diff)
downloadnutyx-pakxe-4d06196f8f9c7ff3f53b13245860a0651fdf4188.tar.gz
nutyx-pakxe-4d06196f8f9c7ff3f53b13245860a0651fdf4188.tar.bz2
nutyx-pakxe-4d06196f8f9c7ff3f53b13245860a0651fdf4188.tar.xz
nutyx-pakxe-4d06196f8f9c7ff3f53b13245860a0651fdf4188.zip
maj de polkit-kde#0.95.1-3
Diffstat (limited to 'kde')
-rwxr-xr-xkde/polkit-kde/Pkgfile12
-rw-r--r--kde/polkit-kde/gcc45.patch11
2 files changed, 18 insertions, 5 deletions
diff --git a/kde/polkit-kde/Pkgfile b/kde/polkit-kde/Pkgfile
index 234ba712d..8195e7674 100755
--- a/kde/polkit-kde/Pkgfile
+++ b/kde/polkit-kde/Pkgfile
@@ -2,19 +2,21 @@
# URL: http://www.kde.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
-# Depends on: kdelibs
+# Depends on: cmake, kdelibs
name=polkit-kde
version=0.95.1
-release=1
-source=(ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/$name-1-$version.tar.bz2
+release=3
+source=(ftp://kde.mirrors.pair.com/stable/apps/KDE4.x/admin/$name-1-$version.tar.bz2
xdg-path.patch
gcc45.patch)
build() {
cd $SRC/$name-1-$version
- patch -p0 -i $SRC/xdg-path.patch
- patch -p0 -i $SRC/gcc45.patch
+
+ patch -Np0 -i ../xdg-path.patch
+ patch -Np0 -i ../gcc45.patch
+
cd ..
mkdir build
cd build
diff --git a/kde/polkit-kde/gcc45.patch b/kde/polkit-kde/gcc45.patch
new file mode 100644
index 000000000..478b1660c
--- /dev/null
+++ b/kde/polkit-kde/gcc45.patch
@@ -0,0 +1,11 @@
+--- agent/AuthDialog.cpp 2010-04-10 10:13:18.634941750 +0200
++++ agent/AuthDialog.cpp 2010-04-10 10:13:56.021565836 +0200
+@@ -169,7 +169,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 = KUser(identity->toString().remove("unix-user:"));
+ if (!user.isValid()) {
+ kWarning() << "User invalid: " << user.loginName();
+ continue;