summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Lashley <malc@gentoo.org>2004-09-03 00:29:22 +0000
committerMalcolm Lashley <malc@gentoo.org>2004-09-03 00:29:22 +0000
commit12bd13dc9fa0f9288897da8fddb6bf0f48de9b2c (patch)
tree0ca73001115e90dd7f7961a671a106713af601af /net-p2p/ed2k_hash/files
parentHelp text, bug #62559 (Manifest recommit) (diff)
downloadgentoo-2-12bd13dc9fa0f9288897da8fddb6bf0f48de9b2c.tar.gz
gentoo-2-12bd13dc9fa0f9288897da8fddb6bf0f48de9b2c.tar.bz2
gentoo-2-12bd13dc9fa0f9288897da8fddb6bf0f48de9b2c.zip
Fix md4.h for 64bit-ness
Diffstat (limited to 'net-p2p/ed2k_hash/files')
-rw-r--r--net-p2p/ed2k_hash/files/ed2k_64bit.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-p2p/ed2k_hash/files/ed2k_64bit.patch b/net-p2p/ed2k_hash/files/ed2k_64bit.patch
new file mode 100644
index 000000000000..7425bb0c03fc
--- /dev/null
+++ b/net-p2p/ed2k_hash/files/ed2k_64bit.patch
@@ -0,0 +1,12 @@
+--- ed2k_hash-0.4.0/work/ed2k_hash-0.4.0/ed2k_hash/md4.h 2002-09-04 18:24:37.000000000 +0100
++++ ed2k_hash-0.4.0_orig/work/ed2k_hash-0.4.0/ed2k_hash/md4.h 2004-09-02 21:13:49.900613616 +0100
+@@ -66,7 +66,8 @@
+ typedef unsigned short int UINT2;
+
+ /* UINT4 defines a four byte word */
+-typedef unsigned long int UINT4;
++/* unsigned long int on 64bit is 8 bits */
++typedef unsigned int UINT4;
+
+ /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
+ If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it