summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/xdelta/files/compilation-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/xdelta/files/compilation-fix.patch')
-rw-r--r--meta-oe/recipes-support/xdelta/files/compilation-fix.patch29
1 files changed, 29 insertions, 0 deletions
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 000000000..377a0436d
--- /dev/null
+++ b/meta-oe/recipes-support/xdelta/files/compilation-fix.patch
@@ -0,0 +1,29 @@
1Upstream-Status: Pending
2http://code.google.com/p/xdelta/issues/detail?id=174
3
4Compilation fix:
5<code>
6| testing/regtest.cc:763:3: error: no matching function for call to 'max(xoff_t, size_t&)'
7</code>
8
9Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
10---
11 testing/regtest.cc | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/testing/regtest.cc b/testing/regtest.cc
15index 12b712e..b63a1f9 100644
16--- a/testing/regtest.cc
17+++ b/testing/regtest.cc
18@@ -12,7 +12,7 @@ public:
19 Options() : encode_srcwin_maxsz(1<<20),
20 block_size(Constants::BLOCK_SIZE),
21 size_known(false) { }
22- size_t encode_srcwin_maxsz;
23+ xoff_t encode_srcwin_maxsz;
24 size_t block_size;
25 bool size_known;
26 };
27--
281.8.5.4
29