fix a crash on logout

This commit is contained in:
Matthias Clasen 2011-03-09 19:07:13 -05:00
parent 065ee7c8ee
commit 645d7106e3
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up at-spi2-core-1.91.91/registryd/registry-main.c.crash-on-exit at-spi2-core-1.91.91/registryd/registry-main.c
--- at-spi2-core-1.91.91/registryd/registry-main.c.crash-on-exit 2011-03-09 19:05:00.774019630 -0500
+++ at-spi2-core-1.91.91/registryd/registry-main.c 2011-03-09 19:05:09.305912968 -0500
@@ -98,7 +98,7 @@ kill_accessibility_bus ()
home = getenv ("HOME");
if (!home)
return;
- name = g_strconcat (home, "/", ".atspi-dbus-bus.pid");
+ name = g_strconcat (home, "/", ".atspi-dbus-bus.pid", NULL);
if (!name)
return;

View File

@ -1,6 +1,6 @@
Name: at-spi2-core
Version: 1.91.91
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Protocol definitions and daemon for D-Bus at-spi
Group: System Environment/Libraries
@ -8,6 +8,9 @@ License: LGPLv2+
URL: http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus
Source0: http://download.gnome.org/sources/at-spi2-core/1.91/%{name}-%{version}.tar.bz2
# upstream fix
Patch0: at-spi2-core-crash-on-exit.patch
BuildRequires: dbus-devel
BuildRequires: dbus-glib-devel
BuildRequires: glib2-devel
@ -45,6 +48,7 @@ API documentation for libatspi.
%prep
%setup -q
%patch0 -p1 -b .crash-on-exit
%build
%configure --with-dbus-daemondir=/bin
@ -86,6 +90,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/libatspi.la
%{_includedir}/at-spi-2.0
%changelog
* Wed Mar 9 2011 Matthias Clasen <mclasen@redhat.com> - 1.91.91-2
- Fix a crash on logout
* Mon Mar 7 2011 Matthias Clasen <mclasen@redhat.com> - 1.91.91-1
- Update to 1.91.91