From 92e26f5f69d8918c1e37890c07e2691febed4a2b Mon Sep 17 00:00:00 2001 From: Matthieu CRAPET Date: Mon, 24 Feb 2014 15:40:41 +0100 Subject: [PATCH] xdelta3: add new recipe for version 3.0.8 Useful command line tool for handling binary diff. Signed-off-by: Matthieu Crapet Signed-off-by: Martin Jansa --- .../xdelta/files/compilation-fix.patch | 29 +++++++++++++++++++ .../recipes-support/xdelta/xdelta3_3.0.8.bb | 15 ++++++++++ 2 files changed, 44 insertions(+) create mode 100644 meta-oe/recipes-support/xdelta/files/compilation-fix.patch create mode 100644 meta-oe/recipes-support/xdelta/xdelta3_3.0.8.bb diff --git a/meta-oe/recipes-support/xdelta/files/compilation-fix.patch b/meta-oe/recipes-support/xdelta/files/compilation-fix.patch new file mode 100644 index 0000000000..377a0436d3 --- /dev/null +++ b/meta-oe/recipes-support/xdelta/files/compilation-fix.patch @@ -0,0 +1,29 @@ +Upstream-Status: Pending +http://code.google.com/p/xdelta/issues/detail?id=174 + +Compilation fix: + +| testing/regtest.cc:763:3: error: no matching function for call to 'max(xoff_t, size_t&)' + + +Signed-off-by: Matthieu Crapet +--- + 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 + diff --git a/meta-oe/recipes-support/xdelta/xdelta3_3.0.8.bb b/meta-oe/recipes-support/xdelta/xdelta3_3.0.8.bb new file mode 100644 index 0000000000..16a72ee8ee --- /dev/null +++ b/meta-oe/recipes-support/xdelta/xdelta3_3.0.8.bb @@ -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