diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-05-31 20:38:42 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-05-31 20:38:42 +0000 |
commit | 40f4b25a73443112fbca6364f0b70e997598b4fd (patch) | |
tree | bd80c7bc1f02a002953e9d9562292f9fa275c69a /dev-python/matplotlib/files/matplotlib-0.99.1.1-libpng14.patch | |
parent | Clean up old revisions. (diff) | |
download | historical-40f4b25a73443112fbca6364f0b70e997598b4fd.tar.gz historical-40f4b25a73443112fbca6364f0b70e997598b4fd.tar.bz2 historical-40f4b25a73443112fbca6364f0b70e997598b4fd.zip |
Revert libpng14 patch, useless according to ssuominen
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
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.patch | 4 |
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]; |