diff options
author | Simon Stelling <blubb@gentoo.org> | 2007-02-12 16:37:13 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2007-02-12 16:37:13 +0000 |
commit | 377e60a0d627a372307a93f6a8b8afc5949fc9e7 (patch) | |
tree | 3182b8e00ed56ddef46c31496bc8105a83bb89cf /dev-util/xdelta | |
parent | Stable on sparc (diff) | |
download | gentoo-2-377e60a0d627a372307a93f6a8b8afc5949fc9e7.tar.gz gentoo-2-377e60a0d627a372307a93f6a8b8afc5949fc9e7.tar.bz2 gentoo-2-377e60a0d627a372307a93f6a8b8afc5949fc9e7.zip |
revision bump to fix 64bit issues; bug 164109
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-util/xdelta')
-rw-r--r-- | dev-util/xdelta/files/digest-xdelta-1.1.3-r2 | 3 | ||||
-rw-r--r-- | dev-util/xdelta/files/xdelta-1.1.3-64bit.patch | 11 | ||||
-rw-r--r-- | dev-util/xdelta/xdelta-1.1.3-r2.ebuild | 37 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-util/xdelta/files/digest-xdelta-1.1.3-r2 b/dev-util/xdelta/files/digest-xdelta-1.1.3-r2 new file mode 100644 index 000000000000..1dafeff410a5 --- /dev/null +++ b/dev-util/xdelta/files/digest-xdelta-1.1.3-r2 @@ -0,0 +1,3 @@ +MD5 08e964c28541605b6fe61c0dd6595516 xdelta-1.1.3.tar.gz 242101 +RMD160 ba0470678f8f466229fcfce851b40f66010b63e1 xdelta-1.1.3.tar.gz 242101 +SHA256 f1c9c40afa3101f9cca15ebb91d888d2a1592555e5b66ddd592b0bacff94eddf xdelta-1.1.3.tar.gz 242101 diff --git a/dev-util/xdelta/files/xdelta-1.1.3-64bit.patch b/dev-util/xdelta/files/xdelta-1.1.3-64bit.patch new file mode 100644 index 000000000000..7f354436dbdd --- /dev/null +++ b/dev-util/xdelta/files/xdelta-1.1.3-64bit.patch @@ -0,0 +1,11 @@ +--- xdelta-1.1.3/libedsio/fh.c.allocbug 2001-06-12 05:16:41.000000000 +0200 ++++ xdelta-1.1.3/libedsio/fh.c 2006-05-09 12:23:04.000000000 +0200 +@@ -92,6 +92,8 @@ + { + if (! ssource->fh->table->table_handle_getui (ssource->fh, &source->alloc_total)) + return ST_Error; ++ /* There are 12 pointers in all required structures. So 64 bit arch needs 48 more bytes. */ ++ source->alloc_total += (sizeof(void *) - 4) * 12; + } + + return x; diff --git a/dev-util/xdelta/xdelta-1.1.3-r2.ebuild b/dev-util/xdelta/xdelta-1.1.3-r2.ebuild new file mode 100644 index 000000000000..deb7cf6aea3e --- /dev/null +++ b/dev-util/xdelta/xdelta-1.1.3-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/xdelta-1.1.3-r2.ebuild,v 1.1 2007/02/12 16:37:13 blubb Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Computes changes between binary or text files and creates deltas" +HOMEPAGE="http://xdelta.sourceforge.net" +SRC_URI="mirror://sourceforge/xdelta/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="=dev-libs/glib-1.2* + >=sys-libs/zlib-1.1.4" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-m4.patch + epatch "${FILESDIR}"/${P}-freegen.patch + epatch "${FILESDIR}"/${P}-gcc4.patch + epatch "${FILESDIR}"/${P}-64bit.patch +} + +src_compile() { + tc-export CC + econf || die + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README +} |