[Python-modules-commits] r5103 - in packages/matplotlib/trunk/debian (3 files)

morph-guest at users.alioth.debian.org morph-guest at users.alioth.debian.org
Wed Apr 23 05:50:08 UTC 2008


    Date: Wednesday, April 23, 2008 @ 05:50:05
  Author: morph-guest
Revision: 5103

fixing python memory api usage

Added:
  packages/matplotlib/trunk/debian/patches/bts-468977_memory_api_usage.patch
Modified:
  packages/matplotlib/trunk/debian/changelog
  packages/matplotlib/trunk/debian/patches/series

Modified: packages/matplotlib/trunk/debian/changelog
===================================================================
--- packages/matplotlib/trunk/debian/changelog	2008-04-22 22:58:16 UTC (rev 5102)
+++ packages/matplotlib/trunk/debian/changelog	2008-04-23 05:50:05 UTC (rev 5103)
@@ -23,8 +23,10 @@
       2.0)" to Depends (sync from Ubuntu)
     - merged Recommends into Depends
     - removed Depends on python-pypaint since that package is unavailable
+  * debian/patches/bts-468977_memory_api_usage.patch
+    - fixes Python API memory usage (Closes: #468977)
 
- -- Sandro Tosi <matrixhasu at gmail.com>  Wed, 23 Apr 2008 00:55:05 +0200
+ -- Sandro Tosi <matrixhasu at gmail.com>  Wed, 23 Apr 2008 07:44:18 +0200
 
 matplotlib (0.90.1-4) unstable; urgency=low
 

Added: packages/matplotlib/trunk/debian/patches/bts-468977_memory_api_usage.patch
===================================================================
--- packages/matplotlib/trunk/debian/patches/bts-468977_memory_api_usage.patch	                        (rev 0)
+++ packages/matplotlib/trunk/debian/patches/bts-468977_memory_api_usage.patch	2008-04-23 05:50:05 UTC (rev 5103)
@@ -0,0 +1,13 @@
+Index: matplotlib/src/_subprocess.c
+===================================================================
+--- matplotlib.orig/src/_subprocess.c	2008-04-23 07:41:32.772888270 +0200
++++ matplotlib/src/_subprocess.c	2008-04-23 07:42:07.034840747 +0200
+@@ -60,7 +60,7 @@
+ {
+ 	sp_handle_object* self;
+ 
+-	self = PyObject_NEW(sp_handle_object, &sp_handle_type);
++	self = PyMem_NEW(sp_handle_object, &sp_handle_type);
+ 	if (self == NULL)
+ 		return NULL;
+ 

Modified: packages/matplotlib/trunk/debian/patches/series
===================================================================
--- packages/matplotlib/trunk/debian/patches/series	2008-04-22 22:58:16 UTC (rev 5102)
+++ packages/matplotlib/trunk/debian/patches/series	2008-04-23 05:50:05 UTC (rev 5103)
@@ -1,2 +1,3 @@
 build_fix.patch
 matplotlibrc_fix.patch
+bts-468977_memory_api_usage.patch




More information about the Python-modules-commits mailing list