summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/consolekit/reorder-initialization.patch
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:06:06 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:06:06 (GMT)
commitbd2fce4f72e5fedac6a0af36b6538090b63b845a (patch)
treeda1669dbbc0d2810a94294032a1414b27c62252b /abs/extra-testing/consolekit/reorder-initialization.patch
parent2004b65ff841a4e63fe9e4c6d244c3a1cb477e88 (diff)
downloadlinhes_pkgbuild-bd2fce4f72e5fedac6a0af36b6538090b63b845a.zip
linhes_pkgbuild-bd2fce4f72e5fedac6a0af36b6538090b63b845a.tar.gz
linhes_pkgbuild-bd2fce4f72e5fedac6a0af36b6538090b63b845a.tar.bz2
consolekit:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/extra-testing/consolekit/reorder-initialization.patch')
-rw-r--r--abs/extra-testing/consolekit/reorder-initialization.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/extra-testing/consolekit/reorder-initialization.patch b/abs/extra-testing/consolekit/reorder-initialization.patch
new file mode 100644
index 0000000..f65abd5
--- /dev/null
+++ b/abs/extra-testing/consolekit/reorder-initialization.patch
@@ -0,0 +1,40 @@
+diff -up ConsoleKit-0.4.1/src/main.c.reorder-initialization ConsoleKit-0.4.1/src/main.c
+--- ConsoleKit-0.4.1/src/main.c.reorder-initialization 2009-12-18 14:51:38.821212946 -0500
++++ ConsoleKit-0.4.1/src/main.c 2009-12-18 14:52:19.246211176 -0500
+@@ -294,11 +294,19 @@ main (int argc,
+
+ setup_debug_log (debug);
+
++ g_debug ("initializing console-kit-daemon %s", VERSION);
++
+ connection = get_system_bus ();
+ if (connection == NULL) {
+ goto out;
+ }
+
++ manager = ck_manager_new ();
++
++ if (manager == NULL) {
++ goto out;
++ }
++
+ bus_proxy = get_bus_proxy (connection);
+ if (bus_proxy == NULL) {
+ g_warning ("Could not construct bus_proxy object; bailing out");
+@@ -310,16 +318,8 @@ main (int argc,
+ goto out;
+ }
+
+- g_debug ("initializing console-kit-daemon %s", VERSION);
+-
+ create_pid_file ();
+
+- manager = ck_manager_new ();
+-
+- if (manager == NULL) {
+- goto out;
+- }
+-
+ loop = g_main_loop_new (NULL, FALSE);
+
+ g_signal_connect (bus_proxy,