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 /graphics/dia | |
parent | - Allow for larger database UIDs (diff) |
- update png to 1.5.10
Notes
Notes:
svn path=/head/; revision=297915
Diffstat (limited to 'graphics/dia')
-rw-r--r-- | graphics/dia/Makefile | 5 | ||||
-rw-r--r-- | graphics/dia/files/patch-export_png.c | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/graphics/dia/Makefile b/graphics/dia/Makefile index a941727bcc25..c0dfb727ef80 100644 --- a/graphics/dia/Makefile +++ b/graphics/dia/Makefile @@ -8,7 +8,7 @@ PORTNAME= dia DISTVERSION= 0.97.1 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= graphics gnome MASTER_SITES= GNOME @@ -18,7 +18,8 @@ MAINTAINER?= gnome@FreeBSD.org COMMENT= Diagram creation program, similar to Visio BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl -LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt +LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \ + png15:${PORTSDIR}/graphics/png USE_BZIP2= yes USE_GMAKE= yes diff --git a/graphics/dia/files/patch-export_png.c b/graphics/dia/files/patch-export_png.c new file mode 100644 index 000000000000..c8553994dc9c --- /dev/null +++ b/graphics/dia/files/patch-export_png.c @@ -0,0 +1,11 @@ +--- plug-ins/libart/export_png.c.orig 2009-11-28 13:49:21.000000000 +0100 ++++ plug-ins/libart/export_png.c 2012-05-08 07:23:21.000000000 +0200 +@@ -178,7 +178,7 @@ + } + + /* set error handling ... */ +- if (setjmp(png->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png))) { + fclose(fp); + png_destroy_write_struct(&png, &info); + message_error(_("Error occurred while writing PNG")); |