Bug#469011: vlc: may use different memory API for a given memory block

Ben Hutchings ben at decadent.org.uk
Sat Apr 5 13:29:58 UTC 2008


Upstream has changed the Python API significantly since the current
version.  Here's a patch that should work for version 0.8.6.e:

diff -u vlc-0.8.6.e/debian/patches/series
vlc-0.8.6.e/debian/patches/series
--- vlc-0.8.6.e/debian/patches/series
+++ vlc-0.8.6.e/debian/patches/series
@@ -5,6 +5,7 @@
 103_kfreebsd.diff
 104_notify.diff
 105_min_mkv.patch
+106_pyobject_del.diff
 200_osdmenu_paths.diff
 300_manpage_syntax.diff
 400-CVE-2008-1489.diff
only in patch2:
unchanged:
--- vlc-0.8.6.e.orig/debian/patches/106_pyobject_del.diff
+++ vlc-0.8.6.e/debian/patches/106_pyobject_del.diff
@@ -0,0 +1,20 @@
+--- vlc-0.8.6.e.orig/bindings/mediacontrol-python/vlcglue.c
++++ vlc-0.8.6.e/bindings/mediacontrol-python/vlcglue.c
+@@ -205,7 +205,7 @@
+ vlcObject_dealloc( PyObject *self )
+ {
+     vlcObject_release( self, NULL );
+-    PyMem_DEL( self );
++    PyObject_DEL( self );
+ }
+ 
+ static PyObject *
+@@ -792,7 +792,7 @@
+ static void
+ MediaControl_dealloc( PyObject *self )
+ {
+-    PyMem_DEL( self );
++    PyObject_DEL( self );
+ }
+ 
+ /**
--- END ---

Ben.

-- 
Ben Hutchings
It is a miracle that curiosity survives formal education. - Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20080405/2d48211b/attachment.pgp 


More information about the pkg-multimedia-maintainers mailing list