diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-01 05:26:28 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-01 05:26:28 +0000 |
commit | 2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch) | |
tree | c04604583d8be53b3ed7f10975be828c731f87cb /math/grace | |
parent | 24315159daa0089f08acea4ba1b130fb6721ad5c (diff) |
- update png to 1.5.10
Notes
Notes:
svn path=/head/; revision=297915
Diffstat (limited to 'math/grace')
-rw-r--r-- | math/grace/Makefile | 4 | ||||
-rw-r--r-- | math/grace/files/patch-src-rstdrv.c | 19 |
2 files changed, 21 insertions, 2 deletions
diff --git a/math/grace/Makefile b/math/grace/Makefile index 27bba392a14a..737a7995bd21 100644 --- a/math/grace/Makefile +++ b/math/grace/Makefile @@ -7,7 +7,7 @@ PORTNAME= grace PORTVERSION= 5.1.22 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= math print # MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/ \ @@ -22,7 +22,7 @@ COMMENT= A powerful plotting tool (successor of xmgr) LIB_DEPENDS= t1:${PORTSDIR}/devel/t1lib \ jpeg.11:${PORTSDIR}/graphics/jpeg \ - png.6:${PORTSDIR}/graphics/png \ + png15:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff \ fftw.2:${PORTSDIR}/math/fftw \ pdf.6:${PORTSDIR}/print/pdflib \ diff --git a/math/grace/files/patch-src-rstdrv.c b/math/grace/files/patch-src-rstdrv.c new file mode 100644 index 000000000000..c48c18824399 --- /dev/null +++ b/math/grace/files/patch-src-rstdrv.c @@ -0,0 +1,19 @@ +--- src/rstdrv.c.orig 2004-07-03 22:47:46.000000000 +0200 ++++ src/rstdrv.c 2012-04-27 20:54:10.000000000 +0200 +@@ -54,6 +54,7 @@ + + #ifdef HAVE_LIBPNG + # include <png.h> ++# include <zlib.h> + #endif + + #ifndef NONE_GUI +@@ -885,7 +886,7 @@ + return; + } + +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + png_destroy_write_struct(&png_ptr, &info_ptr); + return; + } |