summaryrefslogtreecommitdiff
path: root/mail/ja-mh
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-03-15 14:05:52 +0000
committerwiz <wiz@pkgsrc.org>2005-03-15 14:05:52 +0000
commitf3ecdbf6f4e713aeb5bc9526141831da09ce66c8 (patch)
tree37445253d423e69d5ebf692caa909df6032e383f /mail/ja-mh
parent4ee89ff5d6449fd79049ff06a8c7cdeee7ba6920 (diff)
downloadpkgsrc-f3ecdbf6f4e713aeb5bc9526141831da09ce66c8.tar.gz
Fix md5 code on 64-bit platforms by properly defining UINT4.
Closes PR 28755 by HATANO Hiromichi. Bump PKGREVISION to identify fixed versions.
Diffstat (limited to 'mail/ja-mh')
-rw-r--r--mail/ja-mh/Makefile4
-rw-r--r--mail/ja-mh/distinfo3
-rw-r--r--mail/ja-mh/patches/patch-aa26
3 files changed, 30 insertions, 3 deletions
diff --git a/mail/ja-mh/Makefile b/mail/ja-mh/Makefile
index 22a0cb4c4b1..3d43c9df2a3 100644
--- a/mail/ja-mh/Makefile
+++ b/mail/ja-mh/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2004/11/29 05:09:42 taca Exp $
-# FreeBSD Id: Makefile,v 1.13 1999/02/10 18:13:21 motoyuki Exp $
+# $NetBSD: Makefile,v 1.6 2005/03/15 14:05:52 wiz Exp $
DISTNAME= mh-6.8.4-JP-3.05
PKGNAME= ja-mh6-3.05
+PKGREVISION= 1
CATEGORIES= japanese mail
MASTER_SITES= ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/net/mh/
diff --git a/mail/ja-mh/distinfo b/mail/ja-mh/distinfo
index bf9303f181d..d89085ba24f 100644
--- a/mail/ja-mh/distinfo
+++ b/mail/ja-mh/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 09:59:23 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/03/15 14:05:52 wiz Exp $
SHA1 (mh-6.8.4-JP-3.05.tar.gz) = cb531f80be4326cd56d33d6fa9efba4d2d63d0ce
RMD160 (mh-6.8.4-JP-3.05.tar.gz) = a092a9447370a09f770121baa2ae7eced130ff0f
@@ -15,6 +15,7 @@ Size (mh-6.8.4-JP-3.05-20031023.patch.gz) = 307 bytes
SHA1 (mh-6.8.4-JP-3.05-20031106.patch.gz) = daaf41afb5e83143dceb5ae6444e26f1f9ca5bf8
RMD160 (mh-6.8.4-JP-3.05-20031106.patch.gz) = b0585c5c5aebdafa619e129917f0b7d7db987b02
Size (mh-6.8.4-JP-3.05-20031106.patch.gz) = 311 bytes
+SHA1 (patch-aa) = 4c13941b541283222eaa1ad488384fe95b018ede
SHA1 (patch-al) = 59bd51d6b67beb0492b3a3d3acc05242474bac7b
SHA1 (patch-as) = 786c7bf7988806023d9fd5a2ced5a9d31550ff54
SHA1 (patch-at) = 5594d3beac4e911cfa3ff277d4ae034a6dccdccb
diff --git a/mail/ja-mh/patches/patch-aa b/mail/ja-mh/patches/patch-aa
new file mode 100644
index 00000000000..d6fc4dc3bf0
--- /dev/null
+++ b/mail/ja-mh/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.3 2005/03/15 14:05:52 wiz Exp $
+
+--- h/md5.h.orig 1999-02-09 12:30:00.000000000 +0100
++++ h/md5.h
+@@ -13,6 +13,8 @@ The following makes PROTOTYPES default t
+ #define PROTOTYPES 0
+ #endif
+
++#include <inttypes.h>
++
+ /* POINTER defines a generic pointer type */
+ typedef unsigned char *POINTER;
+
+@@ -20,11 +22,7 @@ typedef unsigned char *POINTER;
+ typedef unsigned short int UINT2;
+
+ /* UINT4 defines a four byte word */
+-#ifndef __alpha
+-typedef unsigned long int UINT4;
+-#else
+-typedef unsigned int UINT4;
+-#endif
++typedef uint32_t UINT4;
+
+ /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
+ If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it