diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile index cdaca50bf714..7b140cbf7344 100644 --- a/archivers/zstd/Makefile +++ b/archivers/zstd/Makefile @@ -1,37 +1,37 @@ # Created by: John Marino PORTNAME= zstd -PORTVERSION= 1.4.8 +PORTVERSION= 1.4.9 CATEGORIES= archivers MASTER_SITES= https://github.com/facebook/zstd/releases/download/v${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast real-time compression algorithm LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/../../LICENSE LICENSE_FILE_GPLv2= ${WRKSRC}/../../COPYING TEST_DEPENDS= gmd5sum:sysutils/coreutils USES= meson pkgconfig python:3.4+,build shebangfix MESON_ARGS= -Ddefault_library=both USE_LDCONFIG= yes WRKSRC_SUBDIR= build/meson SHEBANG_FILES= *.py PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= LZ4 OPTIMIZED_CFLAGS TEST OPTIONS_DEFAULT=LZ4 LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 LZ4_MESON_ENABLED= lz4 LZ4_USES= localbase:ldflags OPTIMIZED_CFLAGS_VARS= CFLAGS+=-O3 TEST_MESON_TRUE= bin_tests .include diff --git a/archivers/zstd/distinfo b/archivers/zstd/distinfo index 0d857e3ef435..3d67cfc04697 100644 --- a/archivers/zstd/distinfo +++ b/archivers/zstd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1608599091 -SHA256 (zstd-1.4.8.tar.gz) = 32478297ca1500211008d596276f5367c54198495cf677e9439f4791a4c69f24 -SIZE (zstd-1.4.8.tar.gz) = 1803550 +TIMESTAMP = 1618319924 +SHA256 (zstd-1.4.9.tar.gz) = 29ac74e19ea28659017361976240c4b5c5c24db3b89338731a6feb97c038d293 +SIZE (zstd-1.4.9.tar.gz) = 1821109 diff --git a/archivers/zstd/files/patch-lib-meson.build b/archivers/zstd/files/patch-lib-meson.build new file mode 100644 index 000000000000..7b78395cc8d7 --- /dev/null +++ b/archivers/zstd/files/patch-lib-meson.build @@ -0,0 +1,12 @@ +Obtained from: https://github.com/facebook/zstd/commit/edf2b1176df9302f6023d129e6379ffbe781885c + +--- lib/meson.build.orig 2021-03-02 22:20:57 UTC ++++ lib/meson.build +@@ -22,6 +22,7 @@ libzstd_sources = [join_paths(zstd_rootdir, 'lib/commo + join_paths(zstd_rootdir, 'lib/common/threading.c'), + join_paths(zstd_rootdir, 'lib/common/pool.c'), + join_paths(zstd_rootdir, 'lib/common/zstd_common.c'), ++ join_paths(zstd_rootdir, 'lib/common/zstd_trace.c'), + join_paths(zstd_rootdir, 'lib/common/error_private.c'), + join_paths(zstd_rootdir, 'lib/common/xxhash.c'), + join_paths(zstd_rootdir, 'lib/compress/hist.c'),