From d5b4f08b0f32e4bcaa2ed0d11f11e235880de08c Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 5 Oct 2018 20:43:26 -0300 Subject: [PATCH] zstd: update to 1.3.6. --- srcpkgs/zstd/patches/dont-debug.patch | 18 ++++++++++++++++++ srcpkgs/zstd/template | 6 +++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/zstd/patches/dont-debug.patch diff --git a/srcpkgs/zstd/patches/dont-debug.patch b/srcpkgs/zstd/patches/dont-debug.patch new file mode 100644 index 0000000000..04310c2ee7 --- /dev/null +++ b/srcpkgs/zstd/patches/dont-debug.patch @@ -0,0 +1,18 @@ +diff --git a/programs/fileio.c b/programs/fileio.c +index ed3a29c..0b1b413 100644 +--- programs/fileio.c ++++ programs/fileio.c +@@ -20,12 +20,6 @@ + # define _POSIX_SOURCE 1 /* disable %llu warnings with MinGW on Windows */ + #endif + +-#if !defined(BACKTRACES_ENABLE) && \ +- (defined(__linux__) || (defined(__APPLE__) && defined(__MACH__)) ) +-# define BACKTRACES_ENABLE 1 +-#endif +- +- + /*-************************************* + * Includes + ***************************************/ + diff --git a/srcpkgs/zstd/template b/srcpkgs/zstd/template index 325f010d5c..95c657c556 100644 --- a/srcpkgs/zstd/template +++ b/srcpkgs/zstd/template @@ -1,7 +1,7 @@ # Template file for 'zstd' pkgname=zstd -version=1.3.5 -revision=3 +version=1.3.6 +revision=1 short_desc="Fast real-time compression algorithm - CLI tool" makedepends="zlib-devel liblzma-devel" checkdepends="gtest-devel" @@ -9,7 +9,7 @@ maintainer="maxice8 " license="BSD-3-Clause, GPL-2.0-or-later" homepage="http://www.zstd.net" distfiles="https://github.com/facebook/zstd/archive/v${version}.tar.gz" -checksum=d6e1559e4cdb7c4226767d4ddc990bff5f9aab77085ff0d0490c828b025e2eea +checksum=7f5516148fb66b184cbd6e4e8202997754b6a9d3d016ee789cda87f2fa659dc7 do_build() { make