]> git.pld-linux.org Git - packages/python-matplotlib.git/commitdiff
- fixes build with libpng 1.4
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Thu, 11 Feb 2010 20:22:23 +0000 (20:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-matplotlib-libpng.patch -> 1.1

python-matplotlib-libpng.patch [new file with mode: 0644]

diff --git a/python-matplotlib-libpng.patch b/python-matplotlib-libpng.patch
new file mode 100644 (file)
index 0000000..7e6f484
--- /dev/null
@@ -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];
This page took 0.045426 seconds and 4 git commands to generate.