diff options
author | Kristopher Kersey <augustus@gentoo.org> | 2004-01-08 22:03:10 +0000 |
---|---|---|
committer | Kristopher Kersey <augustus@gentoo.org> | 2004-01-08 22:03:10 +0000 |
commit | 3ac5a2870382458e68529071891c21cccb8d3b56 (patch) | |
tree | 97132e95211593d66ff62154ad60573e16eda540 /app-arch | |
parent | Fix for Bug #34872 (diff) | |
download | historical-3ac5a2870382458e68529071891c21cccb8d3b56.tar.gz historical-3ac5a2870382458e68529071891c21cccb8d3b56.tar.bz2 historical-3ac5a2870382458e68529071891c21cccb8d3b56.zip |
Fix for Bug #34872
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/unrar/Manifest | 4 | ||||
-rw-r--r-- | app-arch/unrar/files/digest-unrar-3.3.3-r1 | 1 | ||||
-rw-r--r-- | app-arch/unrar/files/unrar-3.3.3-amd64.diff | 14 | ||||
-rw-r--r-- | app-arch/unrar/unrar-3.3.3-r1.ebuild | 30 |
4 files changed, 47 insertions, 2 deletions
diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest index 8ca3abacf29a..f06c50465eaf 100644 --- a/app-arch/unrar/Manifest +++ b/app-arch/unrar/Manifest @@ -1,9 +1,9 @@ -MD5 f50d81529a05f395465fba2042cfef31 ChangeLog 2421 +MD5 d9b41fd9866a8461be3df921b51b20c8 ChangeLog 2425 MD5 58f4acb516db91ff38bec3d17203395a unrar-3.00-r1.ebuild 638 MD5 0f3f156f8770d5e2bb261c2d0f080121 unrar-3.1.3.ebuild 666 MD5 fe673148ce8d979b7014fbe32cebb8f6 unrar-3.2.2.ebuild 696 MD5 bfa7dd79c06eb3741a5e70211f5bb7e6 unrar-3.3.3.ebuild 627 -MD5 fac5d786136cf9a164fc29ad452c69cc unrar-3.3.3-r1.ebuild 679 +MD5 5b082e96e3d9c56326e069bdf30af27b unrar-3.3.3-r1.ebuild 686 MD5 830a661615014b9d1ab2ebb94f6ef218 files/digest-unrar-3.00-r1 57 MD5 9925ace8580089045d79c88370883b13 files/digest-unrar-3.1.3 124 MD5 9e69bc56cf79b31d5d23abaa07ad1aba files/digest-unrar-3.2.2 124 diff --git a/app-arch/unrar/files/digest-unrar-3.3.3-r1 b/app-arch/unrar/files/digest-unrar-3.3.3-r1 new file mode 100644 index 000000000000..b537067ac336 --- /dev/null +++ b/app-arch/unrar/files/digest-unrar-3.3.3-r1 @@ -0,0 +1 @@ +MD5 0a6111947acd65ea966e56054a0e77e0 unrarsrc-3.3.3.tar.gz 117088 diff --git a/app-arch/unrar/files/unrar-3.3.3-amd64.diff b/app-arch/unrar/files/unrar-3.3.3-amd64.diff new file mode 100644 index 000000000000..2aa7b7a7d4cb --- /dev/null +++ b/app-arch/unrar/files/unrar-3.3.3-amd64.diff @@ -0,0 +1,14 @@ +--- unrar/rarvm.cpp.orig 2004-01-04 18:28:01.532948504 -0500 ++++ unrar/rarvm.cpp 2004-01-04 18:28:20.920001224 -0500 +@@ -791,8 +791,8 @@ + CurPos++; + if (CurByte==0xe8 || CurByte==CmpByte2) + { +- long Offset=CurPos+FileOffset; +- long Addr=GET_VALUE(false,Data); ++ int Offset=CurPos+FileOffset; ++ int Addr=GET_VALUE(false,Data); + if (Addr<0) + { + if (Addr+Offset>=0) + diff --git a/app-arch/unrar/unrar-3.3.3-r1.ebuild b/app-arch/unrar/unrar-3.3.3-r1.ebuild new file mode 100644 index 000000000000..685d5e78f47b --- /dev/null +++ b/app-arch/unrar/unrar-3.3.3-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-3.3.3-r1.ebuild,v 1.1 2004/01/08 22:02:54 augustus Exp $ + +inherit eutils + +MY_P=${PN}src +S=${WORKDIR}/${PN} +DESCRIPTION="Uncompress rar files" +SRC_URI="http://www.rarlab.com/rar/${MY_P}-${PV}.tar.gz" +HOMEPAGE="http://www.rarlab.com/rar_add.htm" + +SLOT="0" +LICENSE="unRAR" +KEYWORDS="~amd64" + +DEPEND="" + +src_compile() { + if [ "${ARCH}" = "amd64" ] + then + epatch ${FILESDIR}/${PN}-3.3.3-amd64.diff + fi + emake -f makefile.unix CXXFLAGS="$CXXFLAGS" || die +} + +src_install() { + dobin unrar + dodoc readme.txt license.txt +} |