nixpkgs/pkgs/desktops/kde-4.6/support/polkit-qt-1/policy-files.patch

26 lines
903 B
Diff
Raw Normal View History

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