aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-04-23 16:49:43 +0800
committererwin <erwin@FreeBSD.org>2006-04-23 16:49:43 +0800
commitd45a8896fb14ce00be42918125afc83faad88ff5 (patch)
tree9847e392d9ea20dd04315158a85316a688ac8319
parentd43e8acf39be469c5e4ffaf5914ffd3330d57e39 (diff)
downloadfreebsd-ports-gnome-d45a8896fb14ce00be42918125afc83faad88ff5.tar.gz
freebsd-ports-gnome-d45a8896fb14ce00be42918125afc83faad88ff5.tar.zst
freebsd-ports-gnome-d45a8896fb14ce00be42918125afc83faad88ff5.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>
-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