tags 469007 + patch

thank you

Hi,

Here is a patch for this issue.

Thank you,

Barry deFreese


diff -u thuban-1.2.0/debian/changelog thuban-1.2.0/debian/changelog
--- thuban-1.2.0/debian/changelog
+++ thuban-1.2.0/debian/changelog
@@ -1,3 +1,11 @@
+thuban (1.2.0-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * pymem_del.dpatch. (Closes: #469007).
+    + Use PyObject_Del instead of PyMem_DEL.
+
+ -- Barry deFreese <[EMAIL PROTECTED]>  Mon, 03 Mar 2008 15:28:25 -0500
+
 thuban (1.2.0-2) unstable; urgency=low
 
   * Added build-dep from docbook-xml.
diff -u thuban-1.2.0/debian/patches/00list thuban-1.2.0/debian/patches/00list
--- thuban-1.2.0/debian/patches/00list
+++ thuban-1.2.0/debian/patches/00list
@@ -3,0 +4 @@
+pymem_del
only in patch2:
unchanged:
--- thuban-1.2.0.orig/debian/patches/pymem_del.dpatch
+++ thuban-1.2.0/debian/patches/pymem_del.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## pymem_del.dpatch by  <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Use PyObject_Del instead of PyMem_DEL.
+
[EMAIL PROTECTED]@
+diff -urNad thuban-1.2.0~/libraries/pyshapelib/shptreemodule.c thuban-1.2.0/libraries/pyshapelib/shptreemodule.c
+--- thuban-1.2.0~/libraries/pyshapelib/shptreemodule.c	2006-03-29 05:52:18.000000000 -0500
++++ thuban-1.2.0/libraries/pyshapelib/shptreemodule.c	2008-03-03 15:26:57.000000000 -0500
+@@ -42,7 +42,7 @@
+ shptree_dealloc(SHPTreeObject * self)
+ {
+     api->SHPDestroyTree(self->tree);
+-    PyMem_DEL(self);
++    PyObject_Del(self);
+ }
+ 
+ /* Return the repr of the wrapper */
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to