From: Marcin Banasiak Date: Thu, 11 Feb 2010 20:22:23 +0000 (+0000) Subject: - fixes build with libpng 1.4 X-Git-Tag: auto/th/python-matplotlib-0_99_1_1-3~1 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=bb94b105158d6f47335bd49fa60d38f5ce6509d6;p=packages%2Fpython-matplotlib.git - fixes build with libpng 1.4 Changed files: python-matplotlib-libpng.patch -> 1.1 --- diff --git a/python-matplotlib-libpng.patch b/python-matplotlib-libpng.patch new file mode 100644 index 0000000..7e6f484 --- /dev/null +++ b/python-matplotlib-libpng.patch @@ -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];