diff options
author | dinoex <dinoex@FreeBSD.org> | 2012-06-01 13:26:28 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2012-06-01 13:26:28 +0800 |
commit | 530706893f31269bbfa303e069f2e76cbbe2fce7 (patch) | |
tree | a8077a0d6e20d70b39e6a7fe3e57a6dafe7c7f33 /graphics/crw | |
parent | 9d262811a145d3e715edefd1d5d64ceac41de547 (diff) | |
download | freebsd-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 'graphics/crw')
-rw-r--r-- | graphics/crw/Makefile | 9 | ||||
-rw-r--r-- | graphics/crw/files/patch-crw.c | 11 |
2 files changed, 17 insertions, 3 deletions
diff --git a/graphics/crw/Makefile b/graphics/crw/Makefile index f1baefb50561..83e971ab5dbf 100644 --- a/graphics/crw/Makefile +++ b/graphics/crw/Makefile @@ -7,22 +7,25 @@ PORTNAME= crw PORTVERSION= 1.03 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://apollo.backplane.com/FreeBSDPorts/ MAINTAINER= ports@FreeBSD.org COMMENT= A utility to process Canon camera RAW (.crw) files -LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png +LIB_DEPENDS= png15:${PORTSDIR}/graphics/png MAN1= crw.1 MANCOMPRESSED= yes PLIST_FILES= bin/crw +#CFLAGS+= -I${LOCALBASE}/include/libpng15 + post-patch: @${REINPLACE_CMD} -e 's,/usr/local/lib,${LOCALBASE}/lib,' \ - -e 's,/usr/local/include,${LOCALBASE}/include,' \ + -e 's,CFLAGS=,CFLAGS+=,' \ + -e 's,/usr/local/include,${LOCALBASE}/include,' \ ${WRKSRC}/Makefile .include <bsd.port.mk> diff --git a/graphics/crw/files/patch-crw.c b/graphics/crw/files/patch-crw.c new file mode 100644 index 000000000000..c9c3a8a5aabc --- /dev/null +++ b/graphics/crw/files/patch-crw.c @@ -0,0 +1,11 @@ +--- crw.c.orig 2002-07-23 01:17:37.000000000 +0200 ++++ crw.c 2012-04-27 07:23:34.000000000 +0200 +@@ -1394,7 +1394,7 @@ + png_destroy_write_struct(&png_ptr, (png_infopp)NULL); + return; + } +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + png_destroy_write_struct(&png_ptr, &info_ptr); + return; + } |