rpms/ConsoleKit/devel null-warning.patch, NONE, 1.1 ConsoleKit.spec, 1.40, 1.41

Matthias Clasen mclasen at fedoraproject.org
Tue Apr 21 04:56:18 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/ConsoleKit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25085

Modified Files:
	ConsoleKit.spec 
Added Files:
	null-warning.patch 
Log Message:
fix a (harmless) warning


null-warning.patch:

--- NEW FILE null-warning.patch ---
diff -up ConsoleKit-0.3.0/src/ck-manager.c.null-warning ConsoleKit-0.3.0/src/ck-manager.c
--- ConsoleKit-0.3.0/src/ck-manager.c.null-warning	2009-04-20 23:55:53.248884043 -0400
+++ ConsoleKit-0.3.0/src/ck-manager.c	2009-04-20 23:56:27.736126951 -0400
@@ -1213,7 +1213,7 @@ session_is_real_user (CkSession *session
 
         g_object_get (session,
                       "unix-user", &uid,
-                      "session-type", session_type,
+                      "session-type", &session_type,
                       NULL);
 
         username = get_user_name (uid);


Index: ConsoleKit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ConsoleKit/devel/ConsoleKit.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- ConsoleKit.spec	8 Apr 2009 15:51:16 -0000	1.40
+++ ConsoleKit.spec	21 Apr 2009 04:56:15 -0000	1.41
@@ -6,7 +6,7 @@
 Summary: System daemon for tracking users, sessions and seats
 Name: ConsoleKit
 Version: 0.3.0
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: GPLv2+
 Group: System Environment/Libraries
 URL: http://www.freedesktop.org/wiki/Software/ConsoleKit
@@ -31,6 +31,9 @@
 
 Patch2: ConsoleKit-skipvalidation.patch
 
+# http://bugs.freedesktop.org/show_bug.cgi?id=21310
+Patch3: null-warning.patch
+
 %description
 ConsoleKit is a system daemon for tracking what users are logged
 into the system and how they interact with the computer (e.g.
@@ -88,6 +91,7 @@
 %patch0 -p1 -b .get-vt-from-display-instead-of-controlling-tty
 %patch1 -p1 -b .consolekit
 %patch2 -p1 -b .skipvalidation
+%patch3 -p1 -b .null-warning
 
 %build
 %configure --with-pid-file=%{_localstatedir}/run/console-kit-daemon.pid --enable-pam-module --with-pam-module-dir=/%{_lib}/security --enable-docbook-docs --docdir=%{_datadir}/doc/%{name}-%{version}
@@ -168,6 +172,9 @@
 %doc %{_datadir}/doc/%{name}-%{version}/spec/*
 
 %changelog
+* Tue Apr 21 2009 Matthias Clasen  <mclasen at redhat.com> - 0.3.0-8
+- Fix a warning on login (#496636)
+
 * Wed Apr  8 2009 Matthias Clasen  <mclasen at redhat.com> - 0.3.0-7
 - Allow GetSessions calls in the dbus policy
 




More information about the fedora-extras-commits mailing list