diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/tiff/patches/patch-ag | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/graphics/tiff/patches/patch-ag b/graphics/tiff/patches/patch-ag index b902dedc88d..2b56133e613 100644 --- a/graphics/tiff/patches/patch-ag +++ b/graphics/tiff/patches/patch-ag @@ -1,7 +1,16 @@ -$NetBSD: patch-ag,v 1.5 2004/03/22 16:48:13 abs Exp $ +$NetBSD: patch-ag,v 1.6 2004/03/22 17:03:30 abs Exp $ ---- libtiff/tif_fax3.c.orig Mon Mar 22 16:34:59 2004 +--- libtiff/tif_fax3.c.orig Thu Nov 6 08:22:13 2003 +++ libtiff/tif_fax3.c +@@ -309,7 +309,7 @@ Fax3Decode2D(TIFF* tif, tidata_t buf, ts + * this is <8 bytes. We optimize the code here to reflect the + * machine characteristics. + */ +-#if defined(__alpha) || _MIPS_SZLONG == 64 || defined(__LP64__) || defined(__arch64__) ++#if defined(__alpha) || _MIPS_SZLONG == 64 || defined(__LP64__) || defined(__arch64__) || defined(_LP64) + #define FILL(n, cp) \ + switch (n) { \ + case 15:(cp)[14] = 0xff; case 14:(cp)[13] = 0xff; case 13: (cp)[12] = 0xff;\ @@ -451,7 +451,7 @@ Fax3SetupState(TIFF* tif) Fax3BaseState* sp = Fax3State(tif); long rowbytes, rowpixels; |