diff options
Diffstat (limited to 'net-dialup/radiusclient/files')
-rw-r--r-- | net-dialup/radiusclient/files/radiusclient-0.3.2-64bit-compat.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-dialup/radiusclient/files/radiusclient-0.3.2-64bit-compat.patch b/net-dialup/radiusclient/files/radiusclient-0.3.2-64bit-compat.patch new file mode 100644 index 000000000000..49f6afc96245 --- /dev/null +++ b/net-dialup/radiusclient/files/radiusclient-0.3.2-64bit-compat.patch @@ -0,0 +1,19 @@ +Gentoo bug report - https://bugs.gentoo.org/show_bug.cgi?id=399433 +Patch from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321229 + +--- include/radiusclient.h.orig 2005-08-04 10:50:19.636354682 +0200 ++++ include/radiusclient.h 2005-08-04 10:48:47.955569910 +0200 +@@ -38,8 +38,13 @@ + # define __P(protos) () + #endif + ++#if !(defined(__x86_64__)) + typedef unsigned long UINT4; + typedef long INT4; ++#else ++typedef unsigned int UINT4; ++typedef int INT4; ++#endif + + #define AUTH_VECTOR_LEN 16 + #define AUTH_PASS_LEN (3 * 16) /* multiple of 16 */ |