packages: python-matplotlib/python-matplotlib-libpng.patch (NEW) - fixes bu...

megabajt megabajt at pld-linux.org
Thu Feb 11 21:22:29 CET 2010


Author: megabajt                     Date: Thu Feb 11 20:22:29 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixes build with libpng 1.4

---- Files affected:
packages/python-matplotlib:
   python-matplotlib-libpng.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-matplotlib/python-matplotlib-libpng.patch
diff -u /dev/null packages/python-matplotlib/python-matplotlib-libpng.patch:1.1
--- /dev/null	Thu Feb 11 21:22:29 2010
+++ packages/python-matplotlib/python-matplotlib-libpng.patch	Thu Feb 11 21:22:23 2010
@@ -0,0 +1,12 @@
+diff -urN matplotlib-0.99.1.1/src/_png.cpp matplotlib-0.99.1.1.new/src/_png.cpp
+--- matplotlib-0.99.1.1/src/_png.cpp	2009-08-01 21:14:01.000000000 +0200
++++ matplotlib-0.99.1.1.new/src/_png.cpp	2010-02-11 20:40:32.379221907 +0100
+@@ -290,7 +290,7 @@
+ 
+   //free the png memory
+   png_read_end(png_ptr, info_ptr);
+-  png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
++  png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
+   fclose(fp);
+   for (row = 0; row < height; row++)
+     delete [] row_pointers[row];
================================================================


More information about the pld-cvs-commit mailing list