summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xkde/polkit-kde/Pkgfile3
-rw-r--r--kde/polkit-kde/gcc45.patch11
-rw-r--r--kde/polkit-kde/xdg-path.patch13
3 files changed, 1 insertions, 26 deletions
diff --git a/kde/polkit-kde/Pkgfile b/kde/polkit-kde/Pkgfile
index 8195e7674..0f261a787 100755
--- a/kde/polkit-kde/Pkgfile
+++ b/kde/polkit-kde/Pkgfile
@@ -8,8 +8,7 @@ name=polkit-kde
version=0.95.1
release=3
source=(ftp://kde.mirrors.pair.com/stable/apps/KDE4.x/admin/$name-1-$version.tar.bz2
- xdg-path.patch
- gcc45.patch)
+ http://nutyx.meticul.eu/files/patchs/$name/{xdg-path.patch,gcc45.patch})
build() {
cd $SRC/$name-1-$version
diff --git a/kde/polkit-kde/gcc45.patch b/kde/polkit-kde/gcc45.patch
deleted file mode 100644
index 478b1660c..000000000
--- a/kde/polkit-kde/gcc45.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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;
diff --git a/kde/polkit-kde/xdg-path.patch b/kde/polkit-kde/xdg-path.patch
deleted file mode 100644
index 872523bb3..000000000
--- a/kde/polkit-kde/xdg-path.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- agent/CMakeLists.txt 2009-12-23 12:31:29.000000000 +0100
-+++ agent/CMakeLists.txt 2010-02-10 21:26:05.183779591 +0100
-@@ -18,8 +18,8 @@
-
- install(TARGETS polkit-kde-authentication-agent-1 DESTINATION ${LIBEXEC_INSTALL_DIR})
-
--# Install .desktop file to the XDG_CONFIG_DIRS if exists, to the /etc/xdg/autostart otherwise
--set (DESKTOP_INSTALL_DIR $ENV{XDG_CONFIG_DIRS})
-+# Install .desktop file to the XDG_CONFIG_DIRS/autostart if exists, to the /etc/xdg/autostart otherwise
-+set (DESKTOP_INSTALL_DIR $ENV{XDG_CONFIG_DIRS}/autostart)
- if (DESKTOP_INSTALL_DIR)
- else (DESKTOP_INSTALL_DIR)
- set (DESKTOP_INSTALL_DIR /etc/xdg/autostart)