- Modify thread initialization patch to fix RH bug #458522.
This commit is contained in:
parent
0d27f82b16
commit
93890e0494
@ -2,7 +2,7 @@ diff -up pygobject-2.15.2/glib/pyglib.c.thread-init pygobject-2.15.2/glib/pyglib
|
||||
diff -up pygobject-2.15.2/gobject/gobjectmodule.c.thread-init pygobject-2.15.2/gobject/gobjectmodule.c
|
||||
--- pygobject-2.15.2/gobject/gobjectmodule.c.thread-init 2008-07-26 06:21:44.000000000 -0400
|
||||
+++ pygobject-2.15.2/gobject/gobjectmodule.c 2008-08-07 15:06:01.000000000 -0400
|
||||
@@ -1944,6 +1944,15 @@ pyg_threads_init (PyObject *unused, PyOb
|
||||
@@ -1944,6 +1944,18 @@ pyg_threads_init (PyObject *unused, PyOb
|
||||
return Py_None;
|
||||
}
|
||||
|
||||
@ -12,6 +12,9 @@ diff -up pygobject-2.15.2/gobject/gobjectmodule.c.thread-init pygobject-2.15.2/g
|
||||
+{
|
||||
+ if (!pyglib_enable_threads())
|
||||
+ return -1;
|
||||
+
|
||||
+ pygobject_api_functions.threads_enabled = TRUE;
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
Name: pygobject2
|
||||
Version: 2.15.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: Development/Languages
|
||||
Summary: Python bindings for GObject
|
||||
@ -116,6 +116,9 @@ rm -fr $RPM_BUILD_ROOT
|
||||
%{_datadir}/pygobject/xsl
|
||||
|
||||
%changelog
|
||||
* Tue Aug 12 2008 Matthew Barnes <mbarnes@redhat.com> - 2.15.2-3.fc10
|
||||
- Modify thread initialization patch to fix RH bug #458522.
|
||||
|
||||
* Thu Aug 07 2008 Matthew Barnes <mbarnes@redhat.com> - 2.15.2-2.fc10
|
||||
- Add patch for RH bug #544946 (error on gtk.gdk.threads_init).
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user