summaryrefslogtreecommitdiff
path: root/graphics/py-matplotlib
diff options
context:
space:
mode:
authorwiz <wiz>2010-06-13 22:43:46 +0000
committerwiz <wiz>2010-06-13 22:43:46 +0000
commit6af156235b3b94e0c3542e1b617f2653855e0c4f (patch)
tree4a9b97c2969a25f1eeb6596ee96fc25429cef7d5 /graphics/py-matplotlib
parent354cf6a07fa5783bda1f7548ccc97a684c6a7f8e (diff)
downloadpkgsrc-6af156235b3b94e0c3542e1b617f2653855e0c4f.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')
-rw-r--r--graphics/py-matplotlib/Makefile3
-rw-r--r--graphics/py-matplotlib/distinfo3
-rw-r--r--graphics/py-matplotlib/patches/patch-ab13
3 files changed, 17 insertions, 2 deletions
diff --git a/graphics/py-matplotlib/Makefile b/graphics/py-matplotlib/Makefile
index c1252a8c635..2726ca134d1 100644
--- a/graphics/py-matplotlib/Makefile
+++ b/graphics/py-matplotlib/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.25 2010/05/17 16:22:59 drochner Exp $
+# $NetBSD: Makefile,v 1.26 2010/06/13 22:44:42 wiz Exp $
#
DISTNAME= matplotlib-0.99.1.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=matplotlib/}
diff --git a/graphics/py-matplotlib/distinfo b/graphics/py-matplotlib/distinfo
index 0c937cc1df9..494ae7551c8 100644
--- a/graphics/py-matplotlib/distinfo
+++ b/graphics/py-matplotlib/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2010/05/17 16:22:59 drochner Exp $
+$NetBSD: distinfo,v 1.11 2010/06/13 22:44:42 wiz Exp $
SHA1 (matplotlib-0.99.1.2.tar.gz) = c3f9053a8522e2541d93ee55e8b447165708ac15
RMD160 (matplotlib-0.99.1.2.tar.gz) = 11daee415102dff944d9c45de22c48c83e76dde7
Size (matplotlib-0.99.1.2.tar.gz) = 11940390 bytes
SHA1 (patch-aa) = 1f900684fec67a895fc1999f72d5c164376b40a6
+SHA1 (patch-ab) = fb7b689a2766c6221a994882fbf9b8942a4f94f9
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];