mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Fix MD5 code on 64 bit platforms
- While here, use SF macro PR: 134406 Submitted by: "James E. Flemer" <jflemer at alum dot rpi dot edu> (maintainer)
This commit is contained in:
parent
8006488985
commit
17f3d4c9ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233585
@ -7,10 +7,9 @@
|
||||
|
||||
PORTNAME= docsis
|
||||
PORTVERSION= 0.9.5
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= jflemer@alum.rpi.edu
|
||||
COMMENT= DOCSIS(tm) binary configuration file encoder/decoder
|
||||
|
22
net-mgmt/docsis/files/patch-md5.h
Normal file
22
net-mgmt/docsis/files/patch-md5.h
Normal file
@ -0,0 +1,22 @@
|
||||
# $FreeBSD$
|
||||
--- src/md5.h.orig 2004-03-17 07:09:31.000000000 -0800
|
||||
+++ src/md5.h 2009-05-07 19:41:20.000000000 -0700
|
||||
@@ -22,14 +22,16 @@
|
||||
documentation and/or software.
|
||||
*/
|
||||
|
||||
+#include <stdint.h>
|
||||
+
|
||||
/* POINTER defines a generic pointer type */
|
||||
typedef unsigned char *POINTER;
|
||||
|
||||
/* UINT2 defines a two byte word */
|
||||
-typedef unsigned short int UINT2;
|
||||
+typedef uint16_t UINT2;
|
||||
|
||||
/* UINT4 defines a four byte word */
|
||||
-typedef unsigned long int UINT4;
|
||||
+typedef uint32_t UINT4;
|
||||
|
||||
/* MD5 context. */
|
||||
typedef struct {
|
Loading…
Reference in New Issue
Block a user