summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/matplotlib/files/matplotlib-0.99.1.1-libpng14.patch')
-rw-r--r--dev-python/matplotlib/files/matplotlib-0.99.1.1-libpng14.patch4
1 files changed, 1 insertions, 3 deletions
diff --git a/dev-python/matplotlib/files/matplotlib-0.99.1.1-libpng14.patch b/dev-python/matplotlib/files/matplotlib-0.99.1.1-libpng14.patch
index 853248ecc3ba..bcdcb14e0673 100644
--- a/dev-python/matplotlib/files/matplotlib-0.99.1.1-libpng14.patch
+++ b/dev-python/matplotlib/files/matplotlib-0.99.1.1-libpng14.patch
@@ -2,14 +2,12 @@ http://www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/msg209718.html
--- src/_png.cpp
+++ src/_png.cpp
-@@ -290,7 +290,9 @@
+@@ -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);
-+#ifndef png_infopp_NULL
+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
-+#endif
fclose(fp);
for (row = 0; row < height; row++)
delete [] row_pointers[row];