summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-11-04 06:40:18 +0000
committerSamuli Suominen <drac@gentoo.org>2007-11-04 06:40:18 +0000
commit65e65b06cc1709eeddf43e9cc36838959ca10d34 (patch)
tree25c802743c5d02de4eea73eddfdf68d54816b80d /dev-python/gst-python/files
parentstable ppc, bug #197438 (diff)
downloadgentoo-2-65e65b06cc1709eeddf43e9cc36838959ca10d34.tar.gz
gentoo-2-65e65b06cc1709eeddf43e9cc36838959ca10d34.tar.bz2
gentoo-2-65e65b06cc1709eeddf43e9cc36838959ca10d34.zip
Patch from upstream CVS, fixing Segmentation Fault with media-sound/exaile. gst/gstmodule.c (DL_EXPORT): Remove the atexit(gst_deinit) Atexit handlers are run after python has finalized (see Py_Exit in pythonrun.c), but gst_deinit can potentially call back into python e.g. for python-defined plugins.
(Portage version: 2.1.3.17)
Diffstat (limited to 'dev-python/gst-python/files')
-rw-r--r--dev-python/gst-python/files/digest-gst-python-0.10.8-r13
-rw-r--r--dev-python/gst-python/files/gst-python-0.10.8-atexit.patch12
2 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/gst-python/files/digest-gst-python-0.10.8-r1 b/dev-python/gst-python/files/digest-gst-python-0.10.8-r1
new file mode 100644
index 000000000000..eb0925ca4de3
--- /dev/null
+++ b/dev-python/gst-python/files/digest-gst-python-0.10.8-r1
@@ -0,0 +1,3 @@
+MD5 e7e8274d41c6302a80c777ab16d367e6 gst-python-0.10.8.tar.gz 602170
+RMD160 97ec07b064921771d4cadd68194ab2a023f7f20c gst-python-0.10.8.tar.gz 602170
+SHA256 3c0404b51eb7ad32f1f03409604f6fe7871ec9ccb4316e307a88c317e62c1552 gst-python-0.10.8.tar.gz 602170
diff --git a/dev-python/gst-python/files/gst-python-0.10.8-atexit.patch b/dev-python/gst-python/files/gst-python-0.10.8-atexit.patch
new file mode 100644
index 000000000000..46141f6938aa
--- /dev/null
+++ b/dev-python/gst-python/files/gst-python-0.10.8-atexit.patch
@@ -0,0 +1,12 @@
+diff -ur gst-python-0.10.8.orig/gst/gstmodule.c gst-python-0.10.8/gst/gstmodule.c
+--- gst-python-0.10.8.orig/gst/gstmodule.c 2007-07-28 16:38:15.000000000 +0300
++++ gst-python-0.10.8/gst/gstmodule.c 2007-11-04 08:26:33.000000000 +0200
+@@ -266,8 +266,6 @@
+
+ g_timeout_add_full (0, 100, python_do_pending_calls, NULL, NULL);
+
+- atexit(gst_deinit);
+-
+ if (PyErr_Occurred ()) {
+ Py_FatalError ("can't initialize module gst");
+ }