Hello community,

here is the log from the commit of package systemd for openSUSE:Factory
checked in at Thu Aug 18 11:48:46 CEST 2011.



--------
--- systemd/systemd.changes     2011-08-16 19:15:13.000000000 +0200
+++ /mounts/work_src_done/STABLE/systemd/systemd.changes        2011-08-18 
09:33:18.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Aug 18 07:31:12 UTC 2011 - [email protected]
+
+- Fix crash with systemctl enable.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  fix-crash.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ systemd.spec ++++++
--- /var/tmp/diff_new_pack.KzvCCz/_old  2011-08-18 11:48:32.000000000 +0200
+++ /var/tmp/diff_new_pack.KzvCCz/_new  2011-08-18 11:48:32.000000000 +0200
@@ -22,7 +22,7 @@
 Name:           systemd
 Url:            http://www.freedesktop.org/wiki/Software/systemd
 Version:        33
-Release:        9
+Release:        11
 License:        GPLv2+
 Group:          System/Base
 Summary:        A System and Session Manager
@@ -60,6 +60,8 @@
 Patch3:         systemd-cryptsetup.patch
 # PATCH-FIX-UPSTREAM [email protected] -- don't set getty before passphrase is 
typed
 Patch4:         systemd-cryptsetup-query.patch
+# PATCH-FIX-UPSTREAM [email protected] -- fix crash on systemctl enable
+Patch5:         fix-crash.patch
 
 %description
 Systemd is a system and service manager, compatible with SysV and LSB
@@ -106,6 +108,7 @@
 
 %package plymouth
 
+
 License:        GPLv2+
 Group:          System/Base
 Summary:        Plymouth support for systemd
@@ -122,6 +125,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 autoreconf -fiv

++++++ fix-crash.patch ++++++
commit e191553d1dc80cd6d65d05f0cb29f8967fab6983
Author: Kay Sievers <[email protected]>
Date:   Wed Aug 17 19:38:07 2011 +0200

    convert int to boolean for dbus_bool_t

diff --git a/src/dbus-manager.c b/src/dbus-manager.c
index ae88895..cfc2afc 100644
--- a/src/dbus-manager.c
+++ b/src/dbus-manager.c
@@ -444,7 +444,7 @@ static DBusMessage *message_from_file_changes(
         if (carries_install_info >= 0) {
                 dbus_bool_t b;
 
-                b = carries_install_info;
+                b = !!carries_install_info;
                 if (!dbus_message_iter_append_basic(&iter, DBUS_TYPE_BOOLEAN, 
&b))
                         goto oom;
         }

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to