xdelta3: add new recipe for version 3.0.8

Useful command line tool for handling binary diff.

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Matthieu CRAPET 2014-02-24 15:40:41 +01:00 committed by Martin Jansa
parent fef89c60f3
commit 92e26f5f69
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,29 @@
Upstream-Status: Pending
http://code.google.com/p/xdelta/issues/detail?id=174
Compilation fix:
<code>
| testing/regtest.cc:763:3: error: no matching function for call to 'max(xoff_t, size_t&)'
</code>
Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
---
testing/regtest.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testing/regtest.cc b/testing/regtest.cc
index 12b712e..b63a1f9 100644
--- a/testing/regtest.cc
+++ b/testing/regtest.cc
@@ -12,7 +12,7 @@ public:
Options() : encode_srcwin_maxsz(1<<20),
block_size(Constants::BLOCK_SIZE),
size_known(false) { }
- size_t encode_srcwin_maxsz;
+ xoff_t encode_srcwin_maxsz;
size_t block_size;
bool size_known;
};
--
1.8.5.4

View File

@ -0,0 +1,15 @@
SUMMARY = "Xdelta is a tool for differential compression"
DESCRIPTION = "Open-source binary diff, differential compression tools, \
VCDIFF (RFC 3284) delta compression."
HOMEPAGE = "http://xdelta.org/"
SECTION = "console/utils"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
SRC_URI = "http://xdelta.googlecode.com/files/${BPN}-${PV}.tar.xz \
file://compilation-fix.patch"
SRC_URI[md5sum] = "c3ae3286ce4193de8e03d5bcaccf3bc3"
SRC_URI[sha256sum] = "3a86f29c95664fb44b8a40ff22d9bcc3e87aa8c01f0ff75931a7fa78ed3d2e55"
inherit autotools