Browse Source

zstd: Update from 1.3.5 to 1.3.6

android-5
Fredrik Fornwall 6 years ago
parent
commit
f349d44207
  1. 4
      packages/zstd/build.sh
  2. 13
      packages/zstd/programs-fileio.c.patch

4
packages/zstd/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://github.com/facebook/zstd
TERMUX_PKG_DESCRIPTION="Zstandard compression."
TERMUX_PKG_VERSION=1.3.5
TERMUX_PKG_SHA256=d6e1559e4cdb7c4226767d4ddc990bff5f9aab77085ff0d0490c828b025e2eea
TERMUX_PKG_VERSION=1.3.6
TERMUX_PKG_SHA256=7f5516148fb66b184cbd6e4e8202997754b6a9d3d016ee789cda87f2fa659dc7
TERMUX_PKG_SRCURL=https://github.com/facebook/zstd/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_DEPENDS="liblzma"

13
packages/zstd/programs-fileio.c.patch

@ -0,0 +1,13 @@
diff -u -r ../zstd-1.3.6/programs/fileio.c ./programs/fileio.c
--- ../zstd-1.3.6/programs/fileio.c 2018-10-05 16:34:52.000000000 +0000
+++ ./programs/fileio.c 2018-10-08 00:53:00.087407054 +0000
@@ -21,7 +21,8 @@
#endif
#if !defined(BACKTRACES_ENABLE) && \
- (defined(__linux__) || (defined(__APPLE__) && defined(__MACH__)) )
+ (defined(__linux__) || (defined(__APPLE__) && defined(__MACH__)) ) \
+ && !defined(__ANDROID__)
# define BACKTRACES_ENABLE 1
#endif
Loading…
Cancel
Save