pkgsrc/www/amaya/patches/patch-ae
dholland 3324c46fc5 Update to 10.0.1 and add destdir support.
Changes are large and can be found at http://www.w3.org/Amaya/User/New.html.
This update also fixes an ancient security vulnerability and makes the
package build on amd64.
2008-09-11 04:22:50 +00:00

13 lines
626 B
Text

$NetBSD: patch-ae,v 1.10 2008/09/11 04:22:50 dholland Exp $
--- ../thotlib/image/pnghandler.c~ 2007-03-02 05:33:21.000000000 -0500
+++ ../thotlib/image/pnghandler.c 2008-09-08 04:47:23.000000000 -0400
@@ -587,7 +587,7 @@ static unsigned char *ReadPng (FILE *inf
}
/* clean up after the read, and free any memory allocated */
- png_read_destroy (png_ptr, info_ptr, (png_info*) NULL);
+ //png_read_destroy (png_ptr, info_ptr, (png_info*) NULL);
/* Free all of the memory associated with the png_ptr and info_ptr */
png_destroy_read_struct (&png_ptr, &info_ptr, (png_infopp)NULL);
/* free the structures */