pkgsrc/graphics/povray/patches/patch-af
wiz cb2d738ed0 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.
2006-05-06 11:59:49 +00:00

22 lines
735 B
Text

$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