diff options
author | wiz <wiz@pkgsrc.org> | 2010-06-13 22:43:46 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-06-13 22:43:46 +0000 |
commit | 92e0cb52cb783546e352182244f761180817e141 (patch) | |
tree | 4a9b97c2969a25f1eeb6596ee96fc25429cef7d5 /graphics/py-matplotlib/patches | |
parent | 01bd00f60b043c603cfe4fa796bf28af3a849cca (diff) | |
download | pkgsrc-92e0cb52cb783546e352182244f761180817e141.tar.gz |
Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
Diffstat (limited to 'graphics/py-matplotlib/patches')
-rw-r--r-- | graphics/py-matplotlib/patches/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/py-matplotlib/patches/patch-ab b/graphics/py-matplotlib/patches/patch-ab new file mode 100644 index 00000000000..ad54e2964df --- /dev/null +++ b/graphics/py-matplotlib/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.3 2010/06/13 22:44:42 wiz Exp $ + +--- src/_png.cpp.orig 2009-08-01 19:14:01.000000000 +0000 ++++ src/_png.cpp +@@ -290,7 +290,7 @@ _png_module::read_png(const Py::Tuple& a + + //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]; |