summaryrefslogtreecommitdiffstats
path: root/kde
diff options
context:
space:
mode:
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;