summaryrefslogtreecommitdiff
path: root/graphics/povray
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-05-06 11:59:49 +0000
committerwiz <wiz@pkgsrc.org>2006-05-06 11:59:49 +0000
commitcb2d738ed07fa935c826c37cc24aa3684b10a1d5 (patch)
tree37c6f0e9867530a73eabf8d596eff78eafddd979 /graphics/povray
parentad821e691f62276f5035e98827fbf8720769fd3e (diff)
downloadpkgsrc-cb2d738ed07fa935c826c37cc24aa3684b10a1d5.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.
Diffstat (limited to 'graphics/povray')
-rw-r--r--graphics/povray/Makefile4
-rw-r--r--graphics/povray/distinfo3
-rw-r--r--graphics/povray/patches/patch-af22
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