head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.4 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.2 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q1:1.2.0.10 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.8 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.6 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.4 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.2 pkgsrc-2011Q1-base:1.2; locks; strict; comment @# @; 1.3 date 2012.05.12.06.36.39; author obache; state dead; branches; next 1.2; 1.2 date 2011.02.15.05.37.29; author obache; state Exp; branches; next 1.1; 1.1 date 2011.01.14.07.53.39; author obache; state Exp; branches; next ; desc @@ 1.3 log @Update ming to 0.4.4. 0.4.4 - 2011-10-26 * Generally improve swftoscript and decompiler * Change makefdb to name output files by font ID, to play nicer with swftoscript. * Add support for 'class A extends B' syntax in actioncompiler * Fix bug in 'makeswf' failing to catch some compile errors (bugzilla #94) and being too silent in swf embedding errors * Fix bug in action compiler dealing with class methods (bugzilla #94) * Add support for libpng > 1.4 (bugzilla #96) * Add font kernings support (bugzilla #95) * Add button characters export capabilities * Add support for 'swfAction ' syntax in asm blocks @ text @$NetBSD: patch-aj,v 1.2 2011/02/15 05:37:29 obache Exp $ * Use API instead of direct access, for png>=1.5. http://bugs.libming.org/show_bug.cgi?id=109 --- src/blocks/pngdbl.c.orig 2008-12-22 13:33:58.000000000 +0000 +++ src/blocks/pngdbl.c @@@@ -61,7 +61,7 @@@@ static png_structp openPngFromFile(FILE } static int pngReadFunc(png_structp png, unsigned char *buf, int len) -{ SWFInput input = (SWFInput) png->io_ptr; +{ SWFInput input = (SWFInput) png_get_io_ptr(png); return SWFInput_read(input, buf, len); } @@@@ -127,7 +127,7 @@@@ static int readPNG(png_structp png_ptr, return 0; } - if(setjmp(png_ptr->jmpbuf)) + if(setjmp(png_jmpbuf(png_ptr))) { png_destroy_read_struct(&png_ptr, &info_ptr, &end_info); return 0; @ 1.2 log @improve comments for patch. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.1 2011/01/14 07:53:39 obache Exp $ @ 1.1 log @fixes build with png>=1.5. @ text @d1 1 a1 1 $NetBSD$ d4 1 @