summaryrefslogtreecommitdiff
path: root/debian/patches/consolekit.patch
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2013-05-09 09:27:00 +0100
committerColin Watson <cjwatson@debian.org>2013-05-09 09:27:00 +0100
commit0d6a7068412ff99144c5755d741dee7dd9cd97b2 (patch)
tree1c1ff34e3b89fb853cb47f79c7a7e7a58d058929 /debian/patches/consolekit.patch
parent1c82afaa31ab2ea129c12bc1afc85ae7daf709d3 (diff)
* Fix build failure on Ubuntu:
- Include openbsd-compat/sys-queue.h from consolekit.c.
Diffstat (limited to 'debian/patches/consolekit.patch')
-rw-r--r--debian/patches/consolekit.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/patches/consolekit.patch b/debian/patches/consolekit.patch
index d67123a1e..0d0a3d9d6 100644
--- a/debian/patches/consolekit.patch
+++ b/debian/patches/consolekit.patch
@@ -1,7 +1,7 @@
1Description: Add support for registering ConsoleKit sessions on login 1Description: Add support for registering ConsoleKit sessions on login
2Author: Colin Watson <cjwatson@ubuntu.com> 2Author: Colin Watson <cjwatson@ubuntu.com>
3Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1450 3Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1450
4Last-Updated: 2013-05-07 4Last-Updated: 2013-05-09
5 5
6Index: b/Makefile.in 6Index: b/Makefile.in
7=================================================================== 7===================================================================
@@ -228,7 +228,7 @@ Index: b/consolekit.c
228=================================================================== 228===================================================================
229--- /dev/null 229--- /dev/null
230+++ b/consolekit.c 230+++ b/consolekit.c
231@@ -0,0 +1,239 @@ 231@@ -0,0 +1,240 @@
232+/* 232+/*
233+ * Copyright (c) 2008 Colin Watson. All rights reserved. 233+ * Copyright (c) 2008 Colin Watson. All rights reserved.
234+ * 234+ *
@@ -277,6 +277,7 @@ Index: b/consolekit.c
277+ 277+
278+#include <ck-connector.h> 278+#include <ck-connector.h>
279+ 279+
280+#include "openbsd-compat/sys-queue.h"
280+#include "xmalloc.h" 281+#include "xmalloc.h"
281+#include "channels.h" 282+#include "channels.h"
282+#include "key.h" 283+#include "key.h"