2010-03-28 17:17:15 +00:00

13 lines
516 B
Plaintext

$OpenBSD: patch-coders_png_c,v 1.5 2010/03/28 17:17:15 jasper Exp $
--- coders/png.c.orig Thu Jan 21 00:32:14 2010
+++ coders/png.c Sat Feb 6 16:41:48 2010
@@ -1722,7 +1722,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)
{