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
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')
-rw-r--r--app-arch/unshield/ChangeLog10
-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
-rw-r--r--app-arch/unshield/unshield-0.5-r1.ebuild27
6 files changed, 66 insertions, 2 deletions
diff --git a/app-arch/unshield/ChangeLog b/app-arch/unshield/ChangeLog
index e7ba6cb7aed3..10c8d2f7c5ae 100644
--- a/app-arch/unshield/ChangeLog
+++ b/app-arch/unshield/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-arch/unshield
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/unshield/ChangeLog,v 1.12 2006/09/18 16:51:31 ticho Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unshield/ChangeLog,v 1.13 2007/02/05 00:57:47 beandog Exp $
+
+*unshield-0.5-r1 (05 Feb 2007)
+
+ 05 Feb 2007; Steve Dibb <beandog@gentoo.org>
+ +files/unshield-0.5-amd64.patch, +unshield-0.5-r1.ebuild:
+ Add amd64 patch, bug 149235
18 Sep 2006; <ticho@gentoo.org> unshield-0.5.ebuild:
Stable on x86, bug #148035. commit
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.
diff --git a/app-arch/unshield/unshield-0.5-r1.ebuild b/app-arch/unshield/unshield-0.5-r1.ebuild
new file mode 100644
index 000000000000..2f79fff6f056
--- /dev/null
+++ b/app-arch/unshield/unshield-0.5-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unshield/unshield-0.5-r1.ebuild,v 1.1 2007/02/05 00:57:47 beandog Exp $
+
+inherit eutils
+
+DESCRIPTION="InstallShield CAB file extractor."
+HOMEPAGE="http://synce.sourceforge.net/synce/unshield.php"
+SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=sys-libs/zlib-1.1.4"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-amd64.patch"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc README
+}