revision bump to fix 64bit issues; bug 164109
authorSimon Stelling <blubb@gentoo.org>
Mon, 12 Feb 2007 16:37:13 +0000 (16:37 +0000)
committerSimon Stelling <blubb@gentoo.org>
Mon, 12 Feb 2007 16:37:13 +0000 (16:37 +0000)
Package-Manager: portage-2.1.2-r9

dev-util/xdelta/Manifest
dev-util/xdelta/files/digest-xdelta-1.1.3-r2 [new file with mode: 0644]
dev-util/xdelta/files/xdelta-1.1.3-64bit.patch [new file with mode: 0644]
dev-util/xdelta/xdelta-1.1.3-r2.ebuild [new file with mode: 0644]

index a049ed340f7b5dbd6ec3764b7fea929788503b4a..258ddba5982727042373db08b933218edd2e8be7 100644 (file)
@@ -1,3 +1,7 @@
+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
@@ -15,6 +19,10 @@ EBUILD xdelta-1.1.3-r1.ebuild 869 RMD160 75d40f1b6a67b22e5e37679db8b1709bf195f9c
 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
@@ -33,3 +41,6 @@ SHA256 062095f624b2380ec0b426c2f7369bc2359d379334f3061d1f3d06b7f30c0bd8 files/di
 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
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 (file)
index 0000000..1dafeff
--- /dev/null
@@ -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 (file)
index 0000000..7f35443
--- /dev/null
@@ -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 (file)
index 0000000..deb7cf6
--- /dev/null
@@ -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
+}