summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 83b071c8699..81938eee10b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mingw-w64-zstd
pkgdesc = Zstandard - Fast real-time compression algorithm (mingw-w64)
pkgver = 1.4.4
- pkgrel = 1
+ pkgrel = 2
url = http://www.zstd.net/
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 47fc5f27876..5b4a3dcd001 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
pkgname=mingw-w64-zstd
pkgver=1.4.4
-pkgrel=1
+pkgrel=2
pkgdesc="Zstandard - Fast real-time compression algorithm (mingw-w64)"
url="http://www.zstd.net/"
arch=('any')
@@ -14,6 +14,11 @@ sha256sums=('59ef70ebb757ffe74a7b3fe9c305e2ba3350021a918d168a046c6300aeea9315')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+prepare () {
+ cd zstd-$pkgver
+ curl -L https://github.com/facebook/zstd/pull/2143.patch | patch -p1
+}
+
build() {
cd zstd-$pkgver
for _arch in ${_architectures}; do