pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/tiff Fix for NetBSD LP64 arches by checking i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/17b812603522
branches:  trunk
changeset: 493454:17b812603522
user:      toshii <toshii%pkgsrc.org@localhost>
date:      Sat May 07 00:47:29 2005 +0000

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

 graphics/tiff/distinfo         |   3 ++-
 graphics/tiff/patches/patch-ac |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 97daee63eb83 -r 17b812603522 graphics/tiff/distinfo
--- a/graphics/tiff/distinfo    Sat May 07 00:04:33 2005 +0000
+++ b/graphics/tiff/distinfo    Sat May 07 00:47:29 2005 +0000
@@ -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 -r 97daee63eb83 -r 17b812603522 graphics/tiff/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tiff/patches/patch-ac    Sat May 07 00:47:29 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index