4fcfaad7e9
may not all be necessary, but this unbreaks things and we can revise later with okan@ and naddy@, ok okan@
13 lines
613 B
Plaintext
13 lines
613 B
Plaintext
$OpenBSD: patch-coders_png_c,v 1.10 2012/06/19 12:46:12 sthen Exp $
|
|
--- coders/png.c.orig Thu Jun 7 12:50:28 2012
|
|
+++ coders/png.c Mon Jun 18 22:44:21 2012
|
|
@@ -2254,7 +2254,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info,
|
|
|
|
#if (PNG_LIBPNG_VER < 10400)
|
|
# if defined(PNG_USE_PNGGCCRD) && defined(PNG_ASSEMBLER_CODE_SUPPORTED) && \
|
|
- (PNG_LIBPNG_VER >= 10200) && (PNG_LIBPNG_VER < 10220) && defined(__i386__)
|
|
+ (PNG_LIBPNG_VER >= 10200) && (PNG_LIBPNG_VER < 10220) && defined(PNG_MMX_CODE_SUPPORTED)
|
|
/* Disable thread-unsafe features of pnggccrd */
|
|
if (png_access_version_number() >= 10200)
|
|
{
|