diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-04-23 13:05:04 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-04-23 13:05:04 +0000 |
commit | 9945179a3a09b935225b1327f26e8b3200124212 (patch) | |
tree | 4824082bcb75a4c07887bbeeb361f858da3c181d /dev-python/pyao/files | |
parent | Version bump, change qa&inquisitio dependency from pcre++ to libpcre[cxx] for... (diff) | |
download | gentoo-2-9945179a3a09b935225b1327f26e8b3200124212.tar.gz gentoo-2-9945179a3a09b935225b1327f26e8b3200124212.tar.bz2 gentoo-2-9945179a3a09b935225b1327f26e8b3200124212.zip |
Small fix for >=python-2.5. Thanks to gilhad for the patch. Fixes #257550
(Portage version: 2.2_rc31/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyao/files')
-rw-r--r-- | dev-python/pyao/files/pyao-fix-deallocation.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/pyao/files/pyao-fix-deallocation.patch b/dev-python/pyao/files/pyao-fix-deallocation.patch new file mode 100644 index 000000000000..ae422272da82 --- /dev/null +++ b/dev-python/pyao/files/pyao-fix-deallocation.patch @@ -0,0 +1,12 @@ +diff -ru pyao-0.82/src/aomodule.c pyao-0.82.ok/src/aomodule.c +--- pyao-0.82/src/aomodule.c 2003-07-24 08:52:59.000000000 +0200 ++++ pyao-0.82.ok/src/aomodule.c 2009-02-04 03:22:17.000000000 +0100 +@@ -150,7 +150,7 @@ + py_ao_dealloc(ao_Object *self) + { + ao_close(self->dev); +- PyMem_DEL(self); ++ PyObject_FREE(self); + } + + static PyObject * |