diff options
author | toshii <toshii@pkgsrc.org> | 2005-05-07 00:47:29 +0000 |
---|---|---|
committer | toshii <toshii@pkgsrc.org> | 2005-05-07 00:47:29 +0000 |
commit | 866ef81c43b1f8b6b99014583fc24441890b5299 (patch) | |
tree | c09b42c08f789cbe01039b2b7edda7809ac0ad16 /graphics/tiff/patches | |
parent | 298c7362dd9ee7b2d1d1d3cdbd78b286e34538bc (diff) | |
download | pkgsrc-866ef81c43b1f8b6b99014583fc24441890b5299.tar.gz |
Fix for NetBSD LP64 arches by checking if _LP64 is defined. These arches
don't define __LP64__. This is basically same as patch-ab rev. 1.13,
which was probably removed by mistake.
Diffstat (limited to 'graphics/tiff/patches')
-rw-r--r-- | graphics/tiff/patches/patch-ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/tiff/patches/patch-ac b/graphics/tiff/patches/patch-ac new file mode 100644 index 00000000000..d75628b466e --- /dev/null +++ b/graphics/tiff/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.16 2005/05/07 00:47:30 toshii Exp $ + +--- libtiff/tiff.h.orig 2005-05-07 09:26:00.000000000 +0900 ++++ libtiff/tiff.h +@@ -81,7 +81,7 @@ typedef signed char int8; /* NB: non-ANS + typedef unsigned char uint8; + typedef short int16; + typedef unsigned short uint16; /* sizeof (uint16) must == 2 */ +-#if defined(__alpha) || (defined(_MIPS_SZLONG) && _MIPS_SZLONG == 64) || defined(__LP64__) || defined(__arch64__) ++#if defined(__alpha) || (defined(_MIPS_SZLONG) && _MIPS_SZLONG == 64) || defined(__LP64__) || defined(__arch64__) || defined(_LP64) + typedef int int32; + typedef unsigned int uint32; /* sizeof (uint32) must == 4 */ + #else |