Fix a crash
This commit is contained in:
parent
81b0d53672
commit
6ea16ff425
11
crash.patch
Normal file
11
crash.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -up glib-2.17.3/gio/gdesktopappinfo.c.crash glib-2.17.3/gio/gdesktopappinfo.c
|
||||
--- glib-2.17.3/gio/gdesktopappinfo.c.crash 2008-07-03 18:57:41.000000000 -0400
|
||||
+++ glib-2.17.3/gio/gdesktopappinfo.c 2008-07-03 18:57:47.000000000 -0400
|
||||
@@ -241,7 +241,6 @@ g_desktop_app_info_new_from_keyfile (GKe
|
||||
}
|
||||
g_free (t);
|
||||
}
|
||||
- g_free (try_exec);
|
||||
|
||||
info = g_object_new (G_TYPE_DESKTOP_APP_INFO, NULL);
|
||||
info->filename = NULL;
|
@ -3,7 +3,7 @@
|
||||
Summary: A library of handy utility functions
|
||||
Name: glib2
|
||||
Version: 2.17.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.gtk.org
|
||||
@ -25,6 +25,9 @@ Patch2: gio-2.16-only-pass-uri-to-gio-apps.patch
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=529694
|
||||
Patch3: gio-2.16-selinux-set-support.diff
|
||||
|
||||
# Fixed in upstream svn
|
||||
Patch4: crash.patch
|
||||
|
||||
%description
|
||||
GLib is the low-level core library that forms the basis
|
||||
for projects such as GTK+ and GNOME. It provides data structure
|
||||
@ -58,6 +61,7 @@ of version 2 of the GLib library.
|
||||
%setup -q -n glib-%{version}
|
||||
%patch2 -p1 -b .only-pass-uri-to-gio-apps
|
||||
%patch3 -p0 -b .selinux
|
||||
%patch4 -p1 -b .crash
|
||||
|
||||
%build
|
||||
%configure --disable-gtk-doc --enable-static
|
||||
@ -132,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/lib*.a
|
||||
|
||||
%changelog
|
||||
* Thu Jul 3 2008 Matthias Clasen <mclasen@redhat.com> - 2.17.3-3
|
||||
- Fix a stupid crash
|
||||
|
||||
* Wed Jul 2 2008 Matthias Clasen <mclasen@redhat.com> - 2.17.3-1
|
||||
- Update to 2.17.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user