Subject: pkg/28755: APOP ja-mh6 does not work on 64bit machine
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <hatano@sarasarado.org>
List: pkgsrc-bugs
Date: 12/22/2004 16:06:00
>Number:         28755
>Category:       pkg
>Synopsis:       APOP ja-mh6 does not work on 64bit machine
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 22 16:06:00 +0000 2004
>Originator:     HATANO Hiromichi
>Release:        NetBSD 2.0
>Organization:
>Environment:
System: NetBSD clavis.sarasarado.org 2.0 NetBSD 2.0 (CLAVIS) #0: Mon Dec 13 09:24:21 JST 2004 root@clavis.sarasarado.org:/var/obj/sys/arch/amd64/compile/CLAVIS amd64
Architecture: x86_64
Machine: amd64
>Description:
failure APOP access on 64bit machine
>How-To-Repeat:
% inc -apop -host pop.example.com
>Fix:
add this patch 
*** h/md5.h     Tue Feb  9 20:30:00 1999
--- h/md5.h     Thu Dec 23 00:45:40 2004
***************
*** 20,26 ****
  typedef unsigned short int UINT2;

  /* UINT4 defines a four byte word */
! #ifndef __alpha
  typedef unsigned long int UINT4;
  #else
  typedef unsigned int UINT4;
--- 20,26 ----
  typedef unsigned short int UINT2;

  /* UINT4 defines a four byte word */
! #if !(defined(__alpha__)||defined(__sparc64__)||defined(__amd64__))
  typedef unsigned long int UINT4;
  #else
  typedef unsigned int UINT4;