diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2007-08-04 09:54:16 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2007-08-04 09:54:16 +0000 |
commit | 78d2a1afec79cdac4460199a45ea91cc82e58999 (patch) | |
tree | d08fc1d553c6f6a07d8b990bcd3f3a361af97f15 /www/squid_radius_auth | |
parent | 89193fb442d76d7ede445431a31286a530bebe09 (diff) | |
download | ports-78d2a1afec79cdac4460199a45ea91cc82e58999.tar.gz ports-78d2a1afec79cdac4460199a45ea91cc82e58999.zip |
- Use uint32_t for four byte integer. It fixes working on 64-bit platforms.
PR: ports/105549
Reported by: Toshio Hiraga <toshio.hiraga@gmail.com>
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=197066
Diffstat (limited to 'www/squid_radius_auth')
-rw-r--r-- | www/squid_radius_auth/files/patch-md5.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/www/squid_radius_auth/files/patch-md5.h b/www/squid_radius_auth/files/patch-md5.h new file mode 100644 index 000000000000..911aca4973b9 --- /dev/null +++ b/www/squid_radius_auth/files/patch-md5.h @@ -0,0 +1,18 @@ +--- md5.h.orig 2007-08-04 13:45:30.000000000 +0400 ++++ md5.h 2007-08-04 13:41:19.000000000 +0400 +@@ -21,11 +21,15 @@ + typedef unsigned short int UINT2; + + /* UINT4 defines a four byte word */ ++#if 0 + #if defined(__alpha) && (defined(__osf__) || defined(__linux__)) + typedef unsigned int UINT4; + #else + typedef unsigned long 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 |