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 | 4e3ae3bf1392e4e2b6965cf5bbf2b18082de74d3 (patch) | |
tree | c09b42c08f789cbe01039b2b7edda7809ac0ad16 | |
parent | e490f7bac8bb2c0c4416835f2cf23c35b9f28869 (diff) | |
download | pkgsrc-4e3ae3bf1392e4e2b6965cf5bbf2b18082de74d3.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.
-rw-r--r-- | graphics/tiff/distinfo | 3 | ||||
-rw-r--r-- | graphics/tiff/patches/patch-ac | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/tiff/distinfo b/graphics/tiff/distinfo index 1cc9d0a3de2..dfa6ae9e0ce 100644 --- a/graphics/tiff/distinfo +++ b/graphics/tiff/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.27 2005/03/24 17:46:29 recht Exp $ +$NetBSD: distinfo,v 1.28 2005/05/07 00:47:29 toshii Exp $ SHA1 (tiff-3.7.2.tar.gz) = 0eb69e88bf6c430160ad2897cd0ae637d507ed66 RMD160 (tiff-3.7.2.tar.gz) = fb156e17f55b1d565adbc5247f01d836d5f25824 Size (tiff-3.7.2.tar.gz) = 1260598 bytes SHA1 (patch-aa) = 06ecb34e5eeae5650020b456dddd40c8b9fe9647 SHA1 (patch-ab) = 0363e36d8c7575b4a55fee587aa4d92ee6c6db0b +SHA1 (patch-ac) = 80c0abc2e8111a9b7608514cce239c8195e44cee 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 |