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/vigra | |
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/vigra')
-rw-r--r-- | graphics/vigra/Makefile | 4 | ||||
-rw-r--r-- | graphics/vigra/files/patch-png.cxx | 20 |
2 files changed, 22 insertions, 2 deletions
diff --git a/graphics/vigra/Makefile b/graphics/vigra/Makefile index 9aa8c3360d2f..7667d459e02f 100644 --- a/graphics/vigra/Makefile +++ b/graphics/vigra/Makefile @@ -11,7 +11,7 @@ PORTNAME= vigra PORTVERSION= 1.7.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= http://hci.iwr.uni-heidelberg.de/vigra/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src @@ -48,7 +48,7 @@ LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg .endif .if !defined(WITHOUT_VIGRA_PNG) -LIB_DEPENDS+= png:${PORTSDIR}/graphics/png +LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png .endif .if !defined(WITHOUT_VIGRA_FFTW) diff --git a/graphics/vigra/files/patch-png.cxx b/graphics/vigra/files/patch-png.cxx new file mode 100644 index 000000000000..d6fd4f212143 --- /dev/null +++ b/graphics/vigra/files/patch-png.cxx @@ -0,0 +1,20 @@ +--- src/impex/png.cxx.orig 2010-12-03 18:40:34.000000000 +0100 ++++ src/impex/png.cxx 2012-05-05 07:53:39.000000000 +0200 +@@ -320,7 +320,7 @@ + #if (PNG_LIBPNG_VER > 10008) && defined(PNG_READ_iCCP_SUPPORTED) + char * dummyName; + int dummyCompType; +- char * profilePtr; ++ png_byte * profilePtr; + png_uint_32 profileLen; + if (png_get_valid( png, info, PNG_INFO_iCCP )) { + png_get_iCCP(png, info, &dummyName, &dummyCompType, &profilePtr, &profileLen) ; +@@ -592,7 +592,7 @@ + // set icc profile + if (iccProfile.size() > 0) { + png_set_iCCP(png, info, (png_charp)("icc"), 0, +- (png_charp)iccProfile.begin(), (png_uint_32)iccProfile.size()); ++ (const png_byte *)iccProfile.begin(), (png_uint_32)iccProfile.size()); + } + #endif + |