diff options
author | gahr <gahr@FreeBSD.org> | 2008-12-03 06:02:40 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2008-12-03 06:02:40 +0800 |
commit | 1f570150d63f2c15a316e4d4b4ce274a899bb09a (patch) | |
tree | 9e222cb5dd11c2b1bf4d3b463b74045dc741d72a /graphics | |
parent | cb68d0efff5d0c81eda2c36a17fc0edfdf37ccf0 (diff) | |
download | freebsd-ports-gnome-1f570150d63f2c15a316e4d4b4ce274a899bb09a.tar.gz freebsd-ports-gnome-1f570150d63f2c15a316e4d4b4ce274a899bb09a.tar.zst freebsd-ports-gnome-1f570150d63f2c15a316e4d4b4ce274a899bb09a.zip |
- Re-enable and fix ImageMagick support
- Fix LIB_DEPENDS list
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/autotrace/Makefile | 6 | ||||
-rw-r--r-- | graphics/autotrace/files/patch-input-magick.c | 11 |
2 files changed, 14 insertions, 3 deletions
diff --git a/graphics/autotrace/Makefile b/graphics/autotrace/Makefile index bba55a5bf008..a239f474c9f2 100644 --- a/graphics/autotrace/Makefile +++ b/graphics/autotrace/Makefile @@ -7,21 +7,21 @@ PORTNAME= autotrace PORTVERSION= 0.31.1 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Convert bitmap to vector graphics -LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ + MagickWand.1:${PORTSDIR}/graphics/ImageMagick USE_AUTOTOOLS= libtool:15 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ming" -CONFIGURE_ARGS= --without-magick MAN1= autotrace.1 diff --git a/graphics/autotrace/files/patch-input-magick.c b/graphics/autotrace/files/patch-input-magick.c new file mode 100644 index 000000000000..a20852dca7ce --- /dev/null +++ b/graphics/autotrace/files/patch-input-magick.c @@ -0,0 +1,11 @@ +--- input-magick.c.orig 2008-12-02 22:58:14.000000000 +0100 ++++ input-magick.c 2008-12-02 22:58:31.000000000 +0100 +@@ -83,7 +83,7 @@ + + for(j=0,runcount=0,point=0;j<image->rows;j++) + for(i=0;i<image->columns;i++) { +- p=GetOnePixel(image,i,j); ++ GetOnePixel(image,i,j, pixel); + AT_BITMAP_BITS(bitmap)[point++]=pixel->red; /* if gray: red=green=blue */ + if(np==3) { + AT_BITMAP_BITS(bitmap)[point++]=pixel->green; |