File:  [cvs.NetBSD.org] / pkgsrc / graphics / enblend-enfuse / patches / Attic / patch-ae
Revision 1.1: download - view: text, annotated - select for diffs
Sun Jun 13 22:44:29 2010 UTC (14 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, HEAD
Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.

$NetBSD: patch-ae,v 1.1 2010/06/13 22:44:29 wiz Exp $

--- src/vigra_impex/png.cxx.orig	2009-12-20 15:32:28.000000000 +0000
+++ src/vigra_impex/png.cxx
@@ -274,8 +274,8 @@ namespace vigra {
         // expand gray values to at least one byte size
         if ( color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8 ) {
             if (setjmp(png->jmpbuf))
-                vigra_postcondition( false,png_error_message.insert(0, "error in png_set_gray_1_2_4_to_8(): ").c_str());
-            png_set_gray_1_2_4_to_8(png);
+                vigra_postcondition( false,png_error_message.insert(0, "error in png_set_expand_gray_1_2_4_to_8(): ").c_str());
+            png_set_expand_gray_1_2_4_to_8(png);
             bit_depth = 8;
         }
 

CVSweb <webmaster@jp.NetBSD.org>