Date: Thu, 17 Aug 2006 09:50:22 GMT From: "Aron Stansvik" <elvstone@gmail.com> To: freebsd-i386@FreeBSD.org Subject: Re:i386/101361: graphicsmagick failed to build Message-ID: <200608170950.k7H9oMdE091868@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/101361; it has been noted by GNATS. From: "Aron Stansvik" <elvstone@gmail.com> To: bug-followup@FreeBSD.org Cc: a.l.w.kuijper@rug.nl Subject: Re:i386/101361: graphicsmagick failed to build Date: Thu, 17 Aug 2006 11:43:12 +0200 The following patch fixes this issue, and may be added to the port. This has been fixed in ImageMagick, but not yet in GraphicsMagick. I'll bug them about it. Best regards, Aron Stansvik --- coders/png.c.orig Thu Aug 17 11:37:53 2006 +++ coders/png.c Thu Aug 17 11:38:50 2006 @@ -1709,7 +1709,7 @@ #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 @@ | 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608170950.k7H9oMdE091868>