$OpenBSD: patch-coders_png_c,v 1.4 2007/05/20 19:44:47 steven Exp $ --- coders/png.c.orig Sat May 5 02:42:11 2007 +++ coders/png.c Wed May 16 17:41:56 2007 @@ -1768,7 +1768,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info, png_set_read_user_chunk_fn(ping, image, read_vpag_chunk_callback); #endif -#if defined(PNG_USE_PNGGCCRD) && defined(PNG_ASSEMBLER_CODE_SUPPORTED) && (PNG_LIBPNG_VER >= 10200) && defined(__i386__) +#if defined(PNG_USE_PNGGCCRD) && defined(PNG_ASSEMBLER_CODE_SUPPORTED) && (PNG_LIBPNG_VER >= 10200) && defined(PNG_MMX_CODE_SUPPORTED) /* Disable thread-unsafe features of pnggccrd */ if (png_access_version_number() >= 10200) {