nixpkgs/pkgs/desktops/kde-4.6/support/polkit-qt-1/policy-files.patch
Yury G. Kudryashov 3d73157901 polkit-qt-1-0.99.0
svn path=/nixpkgs/trunk/; revision=25283
2010-12-26 15:27:09 +00:00

26 lines
903 B
Diff

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