patch attached
diff -u python-fam-1.1.1/debian/control python-fam-1.1.1/debian/control --- python-fam-1.1.1/debian/control +++ python-fam-1.1.1/debian/control @@ -4,7 +4,7 @@ Maintainer: Martin v. Loewis <[EMAIL PROTECTED]> Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-support (>= 0.3), libfam-dev (>= 2.7.0-7.1) -Standards-Version: 3.7.2 +Standards-Version: 3.7.3 XS-Python-Version: all Package: python-fam diff -u python-fam-1.1.1/debian/copyright python-fam-1.1.1/debian/copyright --- python-fam-1.1.1/debian/copyright +++ python-fam-1.1.1/debian/copyright @@ -3,9 +3,8 @@ It was downloaded from http://prdownloads.sourceforge.net/python-fam/python-fam-1.1.1.tar.gz -Copyright: - -Upstream Authors: Robert Sander, Martin v. Löwis + Copyright (C) 2002 Robert Sander <[EMAIL PROTECTED]> + Copyright (C) 2005 Martin v. Loewis License: diff -u python-fam-1.1.1/debian/changelog python-fam-1.1.1/debian/changelog --- python-fam-1.1.1/debian/changelog +++ python-fam-1.1.1/debian/changelog @@ -1,3 +1,13 @@ +python-fam (1.1.1-2.2) unstable; urgency=low + + * Non-maintainer upload. + * Add XS-Python-Source: all header. + * Fix use of Python API for memory management. Closes: #468998 + * Fix debian/copyright. + * Bump standards (no changes except the above). + + -- Thomas Viehmann <[EMAIL PROTECTED]> Wed, 05 Mar 2008 20:09:23 +0100 + python-fam (1.1.1-2.1) unstable; urgency=low * Non-maintainer upload. only in patch2: unchanged: --- python-fam-1.1.1.orig/_fam.c +++ python-fam-1.1.1/_fam.c @@ -112,7 +112,7 @@ fprintf(stderr, "_fam: deleting connection object.\n"); #endif _fam_close(self, NULL); - PyMem_DEL(self); + PyObject_Del(self); } static PyTypeObject _fam_connection_type = { @@ -215,7 +215,7 @@ fprintf(stderr, "_fam: deleting request object.\n"); #endif _fam_cancel_monitor(self, NULL); - PyMem_DEL(self); + PyObject_Del(self); } static PyTypeObject _fam_request_type = { @@ -357,7 +357,7 @@ fe_obj->fc_obj = NULL; } Py_XDECREF(fe_obj->attr); - PyMem_DEL(fe_obj); + PyObject_Del(fe_obj); } } @@ -435,7 +435,7 @@ int rc; - _fam_connection_object *fc_obj = PyObject_NEW(_fam_connection_object, &_fam_connection_type); + _fam_connection_object *fc_obj = PyObject_New(_fam_connection_object, &_fam_connection_type); if (!fc_obj) return NULL; @@ -498,7 +498,7 @@ if (!PyArg_ParseTuple(args, "sO", &filename, &userData)) return NULL; - fr_obj = PyObject_NEW(_fam_request_object, &_fam_request_type); + fr_obj = PyObject_New(_fam_request_object, &_fam_request_type); if (!fr_obj) return NULL; @@ -545,7 +545,7 @@ if (!PyArg_ParseTuple(args, "sO", &filename, &userData)) return NULL; - fr_obj = PyObject_NEW(_fam_request_object, &_fam_request_type); + fr_obj = PyObject_New(_fam_request_object, &_fam_request_type); if (!fr_obj) return NULL; @@ -647,7 +647,7 @@ if (fc_obj->fc) { - fe_obj = PyObject_NEW(_fam_event_object, &_fam_event_type); + fe_obj = PyObject_New(_fam_event_object, &_fam_event_type); if (!fe_obj) return NULL;

