summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2007-02-05 00:57:47 +0000
committerSteve Dibb <beandog@gentoo.org>2007-02-05 00:57:47 +0000
commitb2c0b6de4775afb53782008872f41c1e858d7282 (patch)
tree97e266de66bed9ded7424aec714f024871340010 /app-arch/unshield/files
parentdev-dotnet/heap-buddy-0.2 - Version bump (diff)
downloadgentoo-2-b2c0b6de4775afb53782008872f41c1e858d7282.tar.gz
gentoo-2-b2c0b6de4775afb53782008872f41c1e858d7282.tar.bz2
gentoo-2-b2c0b6de4775afb53782008872f41c1e858d7282.zip
Add amd64 patch, bug 149235
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-arch/unshield/files')
-rw-r--r--app-arch/unshield/files/digest-unshield-0.42
-rw-r--r--app-arch/unshield/files/digest-unshield-0.52
-rw-r--r--app-arch/unshield/files/digest-unshield-0.5-r13
-rw-r--r--app-arch/unshield/files/unshield-0.5-amd64.patch24
4 files changed, 31 insertions, 0 deletions
diff --git a/app-arch/unshield/files/digest-unshield-0.4 b/app-arch/unshield/files/digest-unshield-0.4
index 2e18918cefe9..c1cdf1f8c923 100644
--- a/app-arch/unshield/files/digest-unshield-0.4
+++ b/app-arch/unshield/files/digest-unshield-0.4
@@ -1 +1,3 @@
MD5 3dbcf189fa6671e77c397f13f15ab629 unshield-0.4.tar.gz 327618
+RMD160 aab62b38af0e6eb92cb3888324c1345be4d4c087 unshield-0.4.tar.gz 327618
+SHA256 2907be04e676b8aa2e8d64c2e2eeb7491abb6a6091f44901e132a9ab34d0b52a unshield-0.4.tar.gz 327618
diff --git a/app-arch/unshield/files/digest-unshield-0.5 b/app-arch/unshield/files/digest-unshield-0.5
index 6b4090c028fa..b49e815d0970 100644
--- a/app-arch/unshield/files/digest-unshield-0.5
+++ b/app-arch/unshield/files/digest-unshield-0.5
@@ -1 +1,3 @@
MD5 ff6bb0fbe962bc00e230592c910b90ce unshield-0.5.tar.gz 325744
+RMD160 cf56cb3be917b8c20f131a0e82469c11b585b142 unshield-0.5.tar.gz 325744
+SHA256 773c66ce4119ae9eae2d5ca452eec405d99bd1d38826896910d538783191edaa unshield-0.5.tar.gz 325744
diff --git a/app-arch/unshield/files/digest-unshield-0.5-r1 b/app-arch/unshield/files/digest-unshield-0.5-r1
new file mode 100644
index 000000000000..b49e815d0970
--- /dev/null
+++ b/app-arch/unshield/files/digest-unshield-0.5-r1
@@ -0,0 +1,3 @@
+MD5 ff6bb0fbe962bc00e230592c910b90ce unshield-0.5.tar.gz 325744
+RMD160 cf56cb3be917b8c20f131a0e82469c11b585b142 unshield-0.5.tar.gz 325744
+SHA256 773c66ce4119ae9eae2d5ca452eec405d99bd1d38826896910d538783191edaa unshield-0.5.tar.gz 325744
diff --git a/app-arch/unshield/files/unshield-0.5-amd64.patch b/app-arch/unshield/files/unshield-0.5-amd64.patch
new file mode 100644
index 000000000000..70b71d05a82c
--- /dev/null
+++ b/app-arch/unshield/files/unshield-0.5-amd64.patch
@@ -0,0 +1,24 @@
+diff -u unshield-0.5.orig/lib/md5/global.h unshield-0.5/lib/md5/global.h
+--- unshield-0.5.orig/lib/md5/global.h 2006-09-26 18:19:28.000000000 -0400
++++ unshield-0.5/lib/md5/global.h 2006-09-26 18:17:04.000000000 -0400
+@@ -17,7 +17,7 @@
+ typedef unsigned short int UINT2;
+
+ /* UINT4 defines a four byte word */
+-typedef unsigned long int UINT4;
++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
+diff -u unshield-0.5.orig/lib/md5/md5c.c unshield-0.5/lib/md5/md5c.c
+--- unshield-0.5.orig/lib/md5/md5c.c 2006-09-26 18:19:28.000000000 -0400
++++ unshield-0.5/lib/md5/md5c.c 2006-09-26 18:18:11.000000000 -0400
+@@ -68,7 +68,7 @@
+
+ /* ROTATE_LEFT rotates x left n bits.
+ */
+-#define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n))))
++#define ROTATE_LEFT(x, n) ((((x) << (n)) & 0xffffffffU) | ((x) >> (32-(n))))
+
+ /* FF, GG, HH, and II transformations for rounds 1, 2, 3, and 4.
+ Rotation is separate from addition to prevent recomputation.