summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/consolekit/files/nopolkit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/consolekit/files/nopolkit.patch')
-rw-r--r--meta/recipes-support/consolekit/files/nopolkit.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-support/consolekit/files/nopolkit.patch b/meta/recipes-support/consolekit/files/nopolkit.patch
new file mode 100644
index 0000000000..bebbcaffff
--- /dev/null
+++ b/meta/recipes-support/consolekit/files/nopolkit.patch
@@ -0,0 +1,16 @@
+Index: ConsoleKit-0.3.0/configure.ac
+===================================================================
+--- ConsoleKit-0.3.0.orig/configure.ac 2009-05-22 12:53:27.000000000 +0100
++++ ConsoleKit-0.3.0/configure.ac 2009-05-22 12:53:56.000000000 +0100
+@@ -55,10 +55,7 @@
+ gthread-2.0 >= $GLIB_REQUIRED_VERSION
+ )
+
+-PKG_CHECK_MODULES(POLKIT,
+- polkit >= $POLKIT_REQUIRED_VERSION,
+- have_polkit=yes,
+- have_polkit=no)
++have_polkit=no
+ if test "x$have_polkit" = "xyes" ; then
+ AC_DEFINE(HAVE_POLKIT, [], [Define if we have polkit])
+ fi