japanese/mh: Fix APOP authentication breakage

PR:	277664
Reported by:	Shigeharu TAKENO <shige@iee.niit.ac.jp>
Approved by:	WATANABE Kazuhiro <CQG00620@nifty.ne.jp> (maintainer)
MFH:	2024Q3

(cherry picked from commit ab71398319)
This commit is contained in:
MANTANI Nobutaka 2024-08-18 03:11:32 +09:00
parent 852902b12b
commit 12aa25a59b
2 changed files with 19 additions and 1 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= mh
PORTVERSION= ${VERSION}.j${JP_VERSION}
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= japanese mail
MASTER_SITES= ftp://ftp.laic.u-hyogo.ac.jp/pub/net/mh/
DISTNAME= ${PORTNAME}-${VERSION}-JP-${JP_VERSION}

View file

@ -0,0 +1,18 @@
--- h/md5.h.orig 1999-02-09 11:30:00 UTC
+++ h/md5.h
@@ -20,11 +20,15 @@ typedef unsigned short int UINT2;
typedef unsigned short int UINT2;
/* UINT4 defines a four byte word */
+#if 0
#ifndef __alpha
typedef unsigned long int UINT4;
#else
typedef unsigned int UINT4;
#endif
+#endif
+#include <sys/types.h>
+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