openbsd-ports/graphics/GraphicsMagick/patches/patch-coders_png_c
okan 33084f2d94 update to 1.3.6
"looks fine" landry@
2009-09-01 14:22:27 +00:00

13 lines
514 B
Plaintext

$OpenBSD: patch-coders_png_c,v 1.4 2009/09/01 14:22:27 okan Exp $
--- coders/png.c.orig Fri Jul 24 15:34:58 2009
+++ coders/png.c Sat Aug 15 23:52:40 2009
@@ -1667,7 +1667,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info,
#endif
#if defined(PNG_USE_PNGGCCRD) && defined(PNG_ASSEMBLER_CODE_SUPPORTED) \
- && (PNG_LIBPNG_VER >= 10200)
+ && (PNG_LIBPNG_VER >= 10200) && defined(PNG_MMX_CODE_SUPPORTED)
/* Disable thread-unsafe features of pnggccrd */
if (png_access_version_number() >= 10200)
{