summaryrefslogtreecommitdiff
path: root/graphics/tiff/patches
diff options
context:
space:
mode:
authortoshii <toshii>2005-05-07 00:47:29 +0000
committertoshii <toshii>2005-05-07 00:47:29 +0000
commit7c5b93192eea847f753baebc292abf52f59e8b03 (patch)
treec09b42c08f789cbe01039b2b7edda7809ac0ad16 /graphics/tiff/patches
parent828c9e876412f62729223b49a1b73f69aa99ca7c (diff)
downloadpkgsrc-7c5b93192eea847f753baebc292abf52f59e8b03.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-ac13
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