summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/polkit-drop-test.patch
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2014-11-09 18:55:31 +0100
committerAndreas Enge <andreas@enge.fr>2014-11-09 18:55:31 +0100
commitc4bd2aca00068c179c308256e6a8c04d7d3e108e (patch)
treee07fb04bbbb0fc60f0ef099abb2de46806bf93f0 /gnu/packages/patches/polkit-drop-test.patch
parent922ea80683fa9ba5cc91818d2e2679b5c6c1fa6a (diff)
gnu: Add polkit.
* gnu/packages/polkit.scm (polkit): New variable. * gnu/packages/patches/polkit-drop-test.patch: New file. * gnu-system.am (dist_patch_DATA): Register patch file.
Diffstat (limited to 'gnu/packages/patches/polkit-drop-test.patch')
-rw-r--r--gnu/packages/patches/polkit-drop-test.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/patches/polkit-drop-test.patch b/gnu/packages/patches/polkit-drop-test.patch
new file mode 100644
index 0000000000..2fd0c8bdf6
--- /dev/null
+++ b/gnu/packages/patches/polkit-drop-test.patch
@@ -0,0 +1,18 @@
+Drop test failing with the following message:
+FAIL: polkitbackendjsauthoritytest
+==================================
+/PolkitBackendJsAuthority/get_admin_identities: Error getting system bus: Could not connect: No such file or directoryError loading /var/run/ConsoleKit/database: Error statting file /var/run/ConsoleKit/database: No such file or directory
+
+
+diff -ru polkit-0.112.old/test/Makefile.in polkit-0.112/test/Makefile.in
+--- polkit-0.112.old/test/Makefile.in 2013-07-08 22:52:13.000000000 +0200
++++ polkit-0.112/test/Makefile.in 2014-11-09 18:43:47.000000000 +0100
+@@ -388,7 +388,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = mocklibc . polkit polkitbackend
++SUBDIRS = mocklibc . polkit
+ AM_CFLAGS = $(GLIB_CFLAGS)
+ noinst_LTLIBRARIES = libpolkit-test-helper.la
+ libpolkit_test_helper_la_SOURCES = polkittesthelper.c polkittesthelper.h