aboutsummaryrefslogtreecommitdiff
path: root/math/qtiplot
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /math/qtiplot
parent24315159daa0089f08acea4ba1b130fb6721ad5c (diff)
Notes
Diffstat (limited to 'math/qtiplot')
-rw-r--r--math/qtiplot/Makefile5
-rw-r--r--math/qtiplot/files/patch-3rdparty__qwtplot3d__3rdparty__gl2ps__gl2ps.c10
2 files changed, 13 insertions, 2 deletions
diff --git a/math/qtiplot/Makefile b/math/qtiplot/Makefile
index a4ad3a7e2be1..ec32ab95b52b 100644
--- a/math/qtiplot/Makefile
+++ b/math/qtiplot/Makefile
@@ -7,7 +7,7 @@
PORTNAME= qtiplot
DISTVERSION= 0.9.8.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math science
MASTER_SITES= BERLIOS http://soft.proindependent.com/src/
@@ -15,7 +15,8 @@ MAINTAINER= makc@FreeBSD.org
COMMENT= An Origin clone for data analysis and scientific plotting
BUILD_DEPENDS= ${LOCALBASE}/lib/libmuparser.a:${PORTSDIR}/math/muparser
-LIB_DEPENDS= gsl.16:${PORTSDIR}/math/gsl
+LIB_DEPENDS= gsl.16:${PORTSDIR}/math/gsl \
+ png15:${PORTSDIR}/graphics/png
# use bundled modified libraries
# qwt.5:${PORTSDIR}/x11-toolkits/qwt5 \
# qwtplot3d-qt4:${PORTSDIR}/math/qwtplot3d-qt4
diff --git a/math/qtiplot/files/patch-3rdparty__qwtplot3d__3rdparty__gl2ps__gl2ps.c b/math/qtiplot/files/patch-3rdparty__qwtplot3d__3rdparty__gl2ps__gl2ps.c
new file mode 100644
index 000000000000..3473b168685c
--- /dev/null
+++ b/math/qtiplot/files/patch-3rdparty__qwtplot3d__3rdparty__gl2ps__gl2ps.c
@@ -0,0 +1,10 @@
+--- 3rdparty/qwtplot3d/3rdparty/gl2ps/gl2ps.c.orig 2011-08-23 11:57:54.000000000 +0200
++++ 3rdparty/qwtplot3d/3rdparty/gl2ps/gl2ps.c 2012-05-09 13:20:35.000000000 +0200
+@@ -48,6 +48,7 @@
+
+ #if defined(GL2PS_HAVE_LIBPNG)
+ #include <png.h>
++#include <zlib.h>
+ #endif
+
+ /*********************************************************************