pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/ja-mh Fix md5 code on 64-bit platforms by properl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18ac52078aee
branches:  trunk
changeset: 490564:18ac52078aee
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Mar 15 14:05:52 2005 +0000

description:
Fix md5 code on 64-bit platforms by properly defining UINT4.
Closes PR 28755 by HATANO Hiromichi. Bump PKGREVISION to identify fixed versions.

diffstat:

 mail/ja-mh/Makefile         |   4 ++--
 mail/ja-mh/distinfo         |   3 ++-
 mail/ja-mh/patches/patch-aa |  26 ++++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 3 deletions(-)

diffs (61 lines):

diff -r 30d70bcf2997 -r 18ac52078aee mail/ja-mh/Makefile
--- a/mail/ja-mh/Makefile       Tue Mar 15 13:48:28 2005 +0000
+++ b/mail/ja-mh/Makefile       Tue Mar 15 14:05:52 2005 +0000
@@ -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 -r 30d70bcf2997 -r 18ac52078aee mail/ja-mh/distinfo
--- a/mail/ja-mh/distinfo       Tue Mar 15 13:48:28 2005 +0000
+++ b/mail/ja-mh/distinfo       Tue Mar 15 14:05:52 2005 +0000
@@ -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 @@
 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 -r 30d70bcf2997 -r 18ac52078aee mail/ja-mh/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/ja-mh/patches/patch-aa       Tue Mar 15 14:05:52 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index