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
signature.asc
Description: This is a digitally signed message part

