diff options
author | wiz <wiz> | 2006-05-06 11:59:49 +0000 |
---|---|---|
committer | wiz <wiz> | 2006-05-06 11:59:49 +0000 |
commit | 750f63b6dfee860ba24f6534fff1065414328818 (patch) | |
tree | 37c6f0e9867530a73eabf8d596eff78eafddd979 | |
parent | f175779910a1b62ec293928de98bc9c4b38b9441 (diff) | |
download | pkgsrc-750f63b6dfee860ba24f6534fff1065414328818.tar.gz |
Bump PKGREVISION:
Remove use of internal png library function, to make this package
build against the current png package.
From the povray.general newsgroup:
Well - you could remove that call but will probably loose ability to
interrupt/continue render with PNG output.
-rw-r--r-- | graphics/povray/Makefile | 4 | ||||
-rw-r--r-- | graphics/povray/distinfo | 3 | ||||
-rw-r--r-- | graphics/povray/patches/patch-af | 22 |
3 files changed, 26 insertions, 3 deletions
diff --git a/graphics/povray/Makefile b/graphics/povray/Makefile index dd237e361ec..cb7f72c13b2 100644 --- a/graphics/povray/Makefile +++ b/graphics/povray/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.35 2006/04/17 13:46:34 wiz Exp $ +# $NetBSD: Makefile,v 1.36 2006/05/06 11:59:49 wiz Exp $ DISTNAME= povray-3.6.1 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= graphics MASTER_SITES= ftp://ftp.povray.org/pub/povray/Official/Unix/ \ ftp://ftp.mirror.ac.uk/sites/ftp.povray.org/pub/povray/Official/Unix/ diff --git a/graphics/povray/distinfo b/graphics/povray/distinfo index 5d02bd47e41..249f1264ffe 100644 --- a/graphics/povray/distinfo +++ b/graphics/povray/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.10 2005/02/24 08:45:12 agc Exp $ +$NetBSD: distinfo,v 1.11 2006/05/06 11:59:49 wiz Exp $ SHA1 (povray-3.6.1.tar.bz2) = 1fab3ccbdedafbf77e3a66087709bbdf60bc643d RMD160 (povray-3.6.1.tar.bz2) = 84ba679da66089f192cc1bfcf8bdd498e736a9a3 Size (povray-3.6.1.tar.bz2) = 8200160 bytes SHA1 (patch-aa) = 351e2eb509cdb3e95c788de5f9ff41c993d4363d SHA1 (patch-ad) = 7c3436957fc4451e12302a6c4884c0fce963d78a +SHA1 (patch-af) = b941ffe6f1f54b5bc6139ec2b7fba480f6393bf1 diff --git a/graphics/povray/patches/patch-af b/graphics/povray/patches/patch-af new file mode 100644 index 00000000000..60f38621a15 --- /dev/null +++ b/graphics/povray/patches/patch-af @@ -0,0 +1,22 @@ +$NetBSD: patch-af,v 1.1 2006/05/06 11:59:49 wiz Exp $ + +--- source/png_pov.cpp.orig 2004-08-02 23:11:37.000000000 +0000 ++++ source/png_pov.cpp +@@ -107,9 +107,6 @@ extern "C" + void png_pov_write_data(png_structp, png_bytep, png_size_t); + void png_pov_flush_data(png_structp); + +- // This is an internal function for libpng +- void png_write_finish_row(png_structp); +- + + /***************************************************************************** + * +@@ -782,7 +779,6 @@ PNG_Image::~PNG_Image() + { + // finished prematurely - trick into thinking done + png_ptr->num_rows = png_ptr->row_number; +- png_write_finish_row(png_ptr); + } + + #ifdef POV_COMMENTS // temporarily skip comment writing code |