aboutsummaryrefslogtreecommitdiffstats
path: root/cad/gmsh
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-06-01 13:26:28 +0800
committerdinoex <dinoex@FreeBSD.org>2012-06-01 13:26:28 +0800
commit530706893f31269bbfa303e069f2e76cbbe2fce7 (patch)
treea8077a0d6e20d70b39e6a7fe3e57a6dafe7c7f33 /cad/gmsh
parent9d262811a145d3e715edefd1d5d64ceac41de547 (diff)
downloadfreebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.tar.gz
freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.tar.zst
freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.zip
- update png to 1.5.10
Diffstat (limited to 'cad/gmsh')
-rw-r--r--cad/gmsh/Makefile3
-rw-r--r--cad/gmsh/files/patch-Graphics_gl2png.cpp10
2 files changed, 12 insertions, 1 deletions
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
index 8f4689fc4b47..adefca84103b 100644
--- a/cad/gmsh/Makefile
+++ b/cad/gmsh/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gmsh
PORTVERSION= 2.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= cad
MASTER_SITES= http://www.geuz.org/gmsh/src/ \
http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/
@@ -22,6 +22,7 @@ COMMENT= An automatic 3D finite element mesh generator
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk \
jpeg.11:${PORTSDIR}/graphics/jpeg \
+ png15:${PORTSDIR}/graphics/png \
lapack.4:${PORTSDIR}/math/lapack
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
diff --git a/cad/gmsh/files/patch-Graphics_gl2png.cpp b/cad/gmsh/files/patch-Graphics_gl2png.cpp
new file mode 100644
index 000000000000..5cce14f1189b
--- /dev/null
+++ b/cad/gmsh/files/patch-Graphics_gl2png.cpp
@@ -0,0 +1,10 @@
+--- Graphics/gl2png.cpp.orig 2010-10-15 15:35:00.000000000 +0200
++++ Graphics/gl2png.cpp 2012-05-09 13:23:42.000000000 +0200
+@@ -16,6 +16,7 @@
+ #else
+
+ #include <png.h>
++#include <zlib.h>
+
+ #ifndef png_jmpbuf
+ # define png_jmpbuf(png_ptr) ((png_ptr)->jmpbuf)