aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/xdelta3/APKBUILD17
-rw-r--r--main/xdelta3/regtest_size_t.patch11
2 files changed, 25 insertions, 3 deletions
diff --git a/main/xdelta3/APKBUILD b/main/xdelta3/APKBUILD
index 8fd1df5633..3ea2ba9619 100644
--- a/main/xdelta3/APKBUILD
+++ b/main/xdelta3/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xdelta3
-pkgver=3.0.6
+pkgver=3.0.8
pkgrel=0
pkgdesc="A diff utility which works with binary files"
url="http://xdelta.org/"
@@ -8,7 +8,13 @@ arch="all"
license="GPL"
depends=
makedepends=
-source="http://xdelta.googlecode.com/files/$pkgname-$pkgver.tar.gz"
+source="http://xdelta.googlecode.com/files/$pkgname-$pkgver.tar.xz
+ regtest_size_t.patch"
+
+prepare() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -p1 -i $srcdir/regtest_size_t.patch || return 1
+}
build() {
cd $srcdir/$pkgname-$pkgver
@@ -25,4 +31,9 @@ package() {
make DESTDIR="${pkgdir}" install
}
-md5sums="652048ab4a7e5f927bce045228a17b31 xdelta3-3.0.6.tar.gz"
+md5sums="c3ae3286ce4193de8e03d5bcaccf3bc3 xdelta3-3.0.8.tar.xz
+450492f0065160c2287b7e89223726e0 regtest_size_t.patch"
+sha256sums="3a86f29c95664fb44b8a40ff22d9bcc3e87aa8c01f0ff75931a7fa78ed3d2e55 xdelta3-3.0.8.tar.xz
+cd68457982aad262db74613b17887a04eabf8bf764f7d40c494a1b24e07c32ea regtest_size_t.patch"
+sha512sums="c0ac97769bd1d80d74909cb271e0396d78dccfa555de834e3bedce59cb6616f7bc6e6f18699932a6677e05d243102648979331db1d2c18b429b76ad29a7b32a3 xdelta3-3.0.8.tar.xz
+6f38f0bd81025637d57b0e9ccb298fe6f851806320657e07f03d50283207221ad8c45b81ad2614a6a621c35c7232f8f81b973b5805c8696306a88c0284042777 regtest_size_t.patch"
diff --git a/main/xdelta3/regtest_size_t.patch b/main/xdelta3/regtest_size_t.patch
new file mode 100644
index 0000000000..e048135bdc
--- /dev/null
+++ b/main/xdelta3/regtest_size_t.patch
@@ -0,0 +1,11 @@
+--- 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;
++ uint64_t encode_srcwin_maxsz;
+ size_t block_size;
+ bool size_known;
+ };