aboutsummaryrefslogtreecommitdiff
path: root/graphics/autotrace
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 /graphics/autotrace
parent24315159daa0089f08acea4ba1b130fb6721ad5c (diff)
downloadports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.tar.gz
ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.zip
- update png to 1.5.10
Notes
Notes: svn path=/head/; revision=297915
Diffstat (limited to 'graphics/autotrace')
-rw-r--r--graphics/autotrace/Makefile6
-rw-r--r--graphics/autotrace/files/patch-input-png.c10
2 files changed, 13 insertions, 3 deletions
diff --git a/graphics/autotrace/Makefile b/graphics/autotrace/Makefile
index 6b46b117823d..ac3ecc3a0c72 100644
--- a/graphics/autotrace/Makefile
+++ b/graphics/autotrace/Makefile
@@ -7,21 +7,21 @@
PORTNAME= autotrace
PORTVERSION= 0.31.1
-PORTREVISION= 21
+PORTREVISION= 22
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/AutoTrace/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert bitmap to vector graphics
-LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
+LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
MagickWand.5:${PORTSDIR}/graphics/ImageMagick
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/ming
+CPPFLAGS+= -I${LOCALBASE}/include/libpng15
MAN1= autotrace.1
diff --git a/graphics/autotrace/files/patch-input-png.c b/graphics/autotrace/files/patch-input-png.c
new file mode 100644
index 000000000000..88ca2ebfa153
--- /dev/null
+++ b/graphics/autotrace/files/patch-input-png.c
@@ -0,0 +1,10 @@
+--- input-png.c.orig 2002-10-10 22:44:14.000000000 +0200
++++ input-png.c 2012-04-29 12:34:51.000000000 +0200
+@@ -30,6 +30,7 @@
+ #include "message.h"
+ #include "xstd.h"
+ #include <png.h>
++#include <pngpriv.h>
+ #include "input-png.h"
+
+ static volatile char rcsid[]="$Id: input-png.c,v 1.16 2002/10/05 19:38:25 masata-y Exp $";