pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/tiff/patches Add back previous patch to libti...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/170e17728c7d
branches:  trunk
changeset: 471247:170e17728c7d
user:      abs <abs%pkgsrc.org@localhost>
date:      Mon Mar 22 17:03:30 2004 +0000

description:
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:

 graphics/tiff/patches/patch-ag |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 690ddf379c02 -r 170e17728c7d graphics/tiff/patches/patch-ag
--- a/graphics/tiff/patches/patch-ag    Mon Mar 22 16:48:13 2004 +0000
+++ b/graphics/tiff/patches/patch-ag    Mon Mar 22 17:03:30 2004 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index