+AUX xdelta-1.1.3-64bit.patch 454 RMD160 0235fbef5c2fe62cd6e9b6b3759739c30bca78c4 SHA1 335e3d80f01571ef8980fe36e3eed2ba33ca7e37 SHA256 8f5c8462b0bf24e65699e3dc8edfce3cc436117b63f12c01ce8636ead77b8edf
+MD5 4058b90f12b694c3279087d26e8b61b0 files/xdelta-1.1.3-64bit.patch 454
+RMD160 0235fbef5c2fe62cd6e9b6b3759739c30bca78c4 files/xdelta-1.1.3-64bit.patch 454
+SHA256 8f5c8462b0bf24e65699e3dc8edfce3cc436117b63f12c01ce8636ead77b8edf files/xdelta-1.1.3-64bit.patch 454
AUX xdelta-1.1.3-freegen.patch 474 RMD160 209f86c51137db238655e2cb6580cc9176db0f7f SHA1 0c85bfecc5bb399b2cb87a88dff7a4d4b73b10ff SHA256 32e0be589737b68b6f9a7309ecfba7aacb4ee2b9f41e596235b2648be9adc91a
MD5 1b9c3671f23a8102a6ab0bac9ea2148c files/xdelta-1.1.3-freegen.patch 474
RMD160 209f86c51137db238655e2cb6580cc9176db0f7f files/xdelta-1.1.3-freegen.patch 474
MD5 11e5d063701c8678740292f893f337c2 xdelta-1.1.3-r1.ebuild 869
RMD160 75d40f1b6a67b22e5e37679db8b1709bf195f9c6 xdelta-1.1.3-r1.ebuild 869
SHA256 951a7496d4bec2349dd619bb9b9473414be46699a27f7d12a6bcc57c0d98dbb0 xdelta-1.1.3-r1.ebuild 869
+EBUILD xdelta-1.1.3-r2.ebuild 912 RMD160 181987226ff01387f142d473f803b9c13975279a SHA1 e7fa1037d62f20a59929b0e08a402998ab3ff449 SHA256 ff0f6578d46b70d8626e2faae54e9fac432a64a2f3af7adbc162ef7b02151691
+MD5 85e596dbe0e2e23ae05970a988aa137e xdelta-1.1.3-r2.ebuild 912
+RMD160 181987226ff01387f142d473f803b9c13975279a xdelta-1.1.3-r2.ebuild 912
+SHA256 ff0f6578d46b70d8626e2faae54e9fac432a64a2f3af7adbc162ef7b02151691 xdelta-1.1.3-r2.ebuild 912
EBUILD xdelta-1.1.3.ebuild 713 RMD160 5b7573c34d29198725dc5fc082239a393f76fcf6 SHA1 03cc2fe29f701433409f71a5641196ca4be18b30 SHA256 a263106b97b46e141f7cc6aeba90e3cb640c5f6eed16c0185353008b8722f818
MD5 00a7d9043625f0ee4111cf5f3935160e xdelta-1.1.3.ebuild 713
RMD160 5b7573c34d29198725dc5fc082239a393f76fcf6 xdelta-1.1.3.ebuild 713
MD5 3ccb105d556b61a14a277651ead914fb files/digest-xdelta-1.1.3-r1 238
RMD160 97cc2f04cd794772876034edbc328ce2b47bb4b6 files/digest-xdelta-1.1.3-r1 238
SHA256 062095f624b2380ec0b426c2f7369bc2359d379334f3061d1f3d06b7f30c0bd8 files/digest-xdelta-1.1.3-r1 238
+MD5 3ccb105d556b61a14a277651ead914fb files/digest-xdelta-1.1.3-r2 238
+RMD160 97cc2f04cd794772876034edbc328ce2b47bb4b6 files/digest-xdelta-1.1.3-r2 238
+SHA256 062095f624b2380ec0b426c2f7369bc2359d379334f3061d1f3d06b7f30c0bd8 files/digest-xdelta-1.1.3-r2 238
--- /dev/null
+--- 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;
--- /dev/null
+# 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
+}