aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-Rijndael
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2006-04-23 08:49:43 +0000
committerErwin Lansing <erwin@FreeBSD.org>2006-04-23 08:49:43 +0000
commitb8c64e686041981acc86a7a8ef14d045d1f3b598 (patch)
treed5eac95f219c7b9c7b66dd95efe8bd1a6886a9ae /security/p5-Crypt-Rijndael
parent3ec36ea94cc56b332638fd8c4cd6a1a990a07f67 (diff)
downloadports-b8c64e686041981acc86a7a8ef14d045d1f3b598.tar.gz
ports-b8c64e686041981acc86a7a8ef14d045d1f3b598.zip
The perl module Crypt::Rijndael has a bug in it causing it to fail on all
64-bit architectures. It assumes that C type long is 32 bits. The patch below works with both i386 and amd64 and should with others. PR: 96114 Submitted by: Vivek Khera <vivek@khera.org>
Notes
Notes: svn path=/head/; revision=160202
Diffstat (limited to 'security/p5-Crypt-Rijndael')
-rw-r--r--security/p5-Crypt-Rijndael/files/patch-rijndael_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/p5-Crypt-Rijndael/files/patch-rijndael_h b/security/p5-Crypt-Rijndael/files/patch-rijndael_h
new file mode 100644
index 000000000000..9200c50c7658
--- /dev/null
+++ b/security/p5-Crypt-Rijndael/files/patch-rijndael_h
@@ -0,0 +1,11 @@
+--- #rijndael.h~ Thu Apr 20 13:56:04 2006
++++ rijndael.h Thu Apr 20 13:56:04 2006
+@@ -27,7 +27,7 @@
+
+ #include <stdlib.h>
+
+-typedef unsigned long UINT32;
++typedef unsigned int UINT32;
+ typedef unsigned char UINT8;
+
+ /* Other block sizes and key lengths are possible, but in the context of