head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.22 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.20 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.18 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.16 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.14 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.12 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.10 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.8 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.6 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.4 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.2 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.1.0.8 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.6 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.4 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.2 pkgsrc-2006Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2007.10.14.12.25.16; author obache; state dead; branches; next 1.1; 1.1 date 2006.10.17.09.26.24; author markd; state Exp; branches; next ; desc @@ 1.2 log @Update GraphicsMagick to 1.1.10. Significant changes associated with GraphicsMagick 1.1.10 (released September 19 , 2007) Bugs Fixed: o Image rotate by -90/270 degrees was producing wrong output. Significant changes associated with GraphicsMagick 1.1.9 (released September 16, 2007) Bugs Fixed: o In mogrify command, don't remove file name based on random junk in memory. o Fixed memory leak when reading MPC files. o Fixed crash when writing MIFF format and depth is not expected 8/16/32/. o Find latest Ghostscript under Windows which identifies itself as "GPL Ghostscript". o In mogrify command, don't leak memory in the case where the image file contains multiple frames. o Fixed crash in PNG and JPEG coders when the image to be written is part of an image list. o PNG reader errors are now properly reported to the user. o TIFF output can now be written to a pipe or other non-seekable destination. o Support writing PDF with CCITT compression. Feature Improvements o Added a new 'benchmark' command which can be used to perform benchmarking on any other command. o Image rotate in clockwise (90 degrees) or counter-clockwise (270 degrees) direction is now 2-9X faster than before. o The -version option now includes a list of supported features. o For Windows MinGW-based build, find Ghostscript fonts installed under C:/Program Files/. Significant changes associated with GraphicsMagick 1.1.8 (released July 28, 2007) Security Fixes: o Shell command injection via delegates subsystem (CVE-2005-4601). o Insecure use of filenames as a "sprintf" specification (CVE-2006-0082). o EXIF IFD stack overflow vulnerability. o BMP format: Verify seek before proceeding. o DCM format: Buffer overflow prevention (CVE-2006-5456). o DCM format: Integer overflow prevention (CVE-2007-1797). o PALM format: Heap overflow prevention (CVE-2006-5456). o SGI format: Fixes for RLE decoding issue (CVE-2006-4144). o XCF format: Buffer overflow prevention, infinite loop prevention. Bugs Fixed: o Typo when searching for HTMLDecodeDelegate. o Avoid crash if delegate program fails to return an image. o EXIF memory leak fixes. o Command parser memory leak fixes. o Deadlock fix for event log initialization. o Work with latest Ghostscript "GPL Ghostscript" under Windows. o 'gm import' now returns image of appropriate depth. o Fixed memory map resource managment. o Fixed includedir variable in pkg-config files. o Fixed validation of -affine argument. o Fixed bug where fseeko() and ftello() were not used when available. o Fixed issue when pread() and pwrite() prototypes are missing. o Fixed pixel cache issues when size_t is an unsigned type. o Fixed dcraw delegate options to work with modern dcraw. o Fixed -level argument parsing to allow embedded % characters. o Fix for segfault in InitializeMagick(NULL). o Fix for segfault in ModifyCache(). o Fix for Wand MagickGetQuantumDepth() interface. o Fix for GrayscalePseudoClassImage() on 64-bit systems. o Fix for MagickReallocMemory memory leak under certain error conditions. o Validate BLOB access range. o ICON format: Segfault fix. o JPEG format: Fixed reading 12-bit grayscale JPEG. o MAT format: Stability improvements. o MIFF format: Handle a compression value of 'None'. o PCX format: Segfault fix. Heap overflow fix. o PDF format: Fixed writing with JPEG compression. o PICT format: Segfault fix. o PNG format: Fixed compile problem with some libpng versions. Segfault fix. o PNM format: Fixed scaling problem due to rounding error. Validate scaling. o PSD format: Fixed memory leak with layerd PSD files. o SGI format: Handle 16-bit SGI image files correctly. o SUN format: Segfault fix. o TIFF format: Secure error reporting. Finally support LZW under Windows. o WPG format: Fixed crash with clip-art WPG files. o XWD format: Fix for integer under/overflow. Feature Improvements o CIN format: Implementation is entirely replaced. o MAT format: Support Byte and Word formats, as well as big/little endian. o WPG format: Support for CTM translation. Updates: o JasPer is updated to version 1.900.1. o Jbigkit is updated to version 1.6 o Lcms is updated to version 1.16 o Libpng is updated to version 1.2.18 o Libtiff is updated to version 3.8.2. @ text @$NetBSD: patch-aa,v 1.1 2006/10/17 09:26:24 markd Exp $ --- coders/png.c.orig 2006-10-15 15:09:43.000000000 +1300 +++ coders/png.c @@@@ -1709,7 +1709,7 @@@@ static Image *ReadOnePNGImage(MngInfo *m #if defined(PNG_USE_PNGGCCRD) && defined(PNG_ASSEMBLER_CODE_SUPPORTED) \ && (PNG_LIBPNG_VER >= 10200) /* Disable thread-unsafe features of pnggccrd */ - if (png_access_version() >= 10200) + if (png_access_version_number() >= 10200) { png_uint_32 mmx_disable_mask=0; png_uint_32 asm_flags; @@@@ -1718,8 +1718,8 @@@@ static Image *ReadOnePNGImage(MngInfo *m | PNG_ASM_FLAG_MMX_READ_FILTER_SUB \ | PNG_ASM_FLAG_MMX_READ_FILTER_AVG \ | PNG_ASM_FLAG_MMX_READ_FILTER_PAETH ); - asm_flags=png_get_asm_flags(png_ptr); - png_set_asm_flags(png_ptr, asm_flags & ~mmx_disable_mask); + asm_flags=png_get_asm_flags(ping); + png_set_asm_flags(ping, asm_flags & ~mmx_disable_mask); } #endif @ 1.1 log @Fix build with recent png. From GraphicsMagick CVS. @ text @d1 1 a1 1 $NetBSD$ @