summaryrefslogtreecommitdiff
path: root/graphics/tiff
diff options
context:
space:
mode:
authorabs <abs>2004-03-22 17:03:30 +0000
committerabs <abs>2004-03-22 17:03:30 +0000
commit091af911d8a301b74fe4e4e26f6fdfdbe1a2a66c (patch)
tree6ab698f021f2651b9621cf085132ace473479842 /graphics/tiff
parent1cbb82a1adb39552f61138ec4e667cf7020ea6e8 (diff)
downloadpkgsrc-091af911d8a301b74fe4e4e26f6fdfdbe1a2a66c.tar.gz
Add back previous patch to libtiff/tif_fax3.c lost in last commit.
Flagged by wizd :) - many thanks. Note to self: Running patch on a file twice does tend to make the .orig file less than useful for comparing to the original state...
Diffstat (limited to 'graphics/tiff')
-rw-r--r--graphics/tiff/patches/patch-ag13
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;