summary refs log tree commit diff
path: root/pkgs/desktops/kde-4.6/support/polkit-qt-1/policy-files.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/kde-4.6/support/polkit-qt-1/policy-files.patch')
-rw-r--r--pkgs/desktops/kde-4.6/support/polkit-qt-1/policy-files.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/desktops/kde-4.6/support/polkit-qt-1/policy-files.patch b/pkgs/desktops/kde-4.6/support/polkit-qt-1/policy-files.patch
new file mode 100644
index 00000000000..f179c962a58
--- /dev/null
+++ b/pkgs/desktops/kde-4.6/support/polkit-qt-1/policy-files.patch
@@ -0,0 +1,25 @@
+From 2791059a4c930c7eb5e4a3233ef997e69187c4d1 Mon Sep 17 00:00:00 2001
+From: Yury G. Kudryashov <urkud.urkud@gmail.com>
+Date: Fri, 24 Dec 2010 16:00:04 +0300
+Subject: [PATCH] Don't let packages install policy files outside of their installation prefix
+
+---
+ PolkitQt-1Config.cmake.in |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/PolkitQt-1Config.cmake.in b/PolkitQt-1Config.cmake.in
+index 1356de7..4c55719 100644
+--- a/PolkitQt-1Config.cmake.in
++++ b/PolkitQt-1Config.cmake.in
+@@ -15,7 +15,7 @@ endif(NOT POLKITQT-1_INSTALL_DIR)
+ 
+ set(POLKITQT-1_INCLUDE_DIR              "@INCLUDE_INSTALL_DIR@/polkit-qt-1")
+ set(POLKITQT-1_LIB_DIR                  "@LIB_INSTALL_DIR@")
+-set(POLKITQT-1_POLICY_FILES_INSTALL_DIR "${POLKITQT-1_INSTALL_DIR}/share/polkit-1/actions")
++set(POLKITQT-1_POLICY_FILES_INSTALL_DIR "share/polkit-1/actions")
+ 
+ # Compatibility
+ if(WIN32)
+-- 
+1.7.3.2
+