mirror of
https://abf.rosa.ru/djam/zstd.git
synced 2025-02-23 03:42:47 +00:00
1.4.8
This commit is contained in:
parent
199c832811
commit
c060cfe659
4 changed files with 2 additions and 29 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
zstd-1.4.5.tar.gz: 9c344c2660c990b6d6a9cced73db3a0dfe2b0092
|
||||
zstd-1.4.8.tar.gz: e3027d788b964429c773fab05e000061dc6eb3f6
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/programs/util.c b/programs/util.c
|
||||
index ab1abd3..30c9237 100644
|
||||
--- a/programs/util.c
|
||||
+++ b/programs/util.c
|
||||
@@ -28,7 +28,7 @@ extern "C" {
|
||||
# include <io.h> /* _chmod */
|
||||
#else
|
||||
# include <unistd.h> /* chown, stat */
|
||||
-# if PLATFORM_POSIX_VERSION < 200809L
|
||||
+# if PLATFORM_POSIX_VERSION < 200809L || !defined(st_mtime)
|
||||
# include <utime.h> /* utime */
|
||||
# else
|
||||
# include <fcntl.h> /* AT_FDCWD */
|
|
@ -1,12 +0,0 @@
|
|||
diff -Naur zstd-1.4.5/programs/zstdcli.c zstd-1.4.5.tpg/programs/zstdcli.c
|
||||
--- zstd-1.4.5/programs/zstdcli.c 2020-05-22 05:04:00.000000000 +0000
|
||||
+++ zstd-1.4.5.tpg/programs/zstdcli.c 2020-05-22 08:33:46.031001998 +0000
|
||||
@@ -695,7 +695,7 @@
|
||||
if ((filenames==NULL) || (file_of_names==NULL)) { DISPLAY("zstd: allocation error \n"); exit(1); }
|
||||
programName = lastNameFromPath(programName);
|
||||
#ifdef ZSTD_MULTITHREAD
|
||||
- nbWorkers = 1;
|
||||
+ nbWorkers = 0;
|
||||
#endif
|
||||
|
||||
/* preset behaviors */
|
|
@ -9,14 +9,12 @@
|
|||
|
||||
Summary: Zstd compression library
|
||||
Name: zstd
|
||||
Version: 1.4.5
|
||||
Version: 1.4.8
|
||||
Release: 1
|
||||
License: BSD and GPLv2+
|
||||
Group: Archiving/Compression
|
||||
Url: http://www.zstd.net/
|
||||
Source0: https://github.com/facebook/zstd/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: zstd-1.3.4-multi-thread-default.patch
|
||||
Patch1: define-mtime-e2k.patch
|
||||
Patch2: dont-vectorize-like-a-clang-e2k.patch
|
||||
BuildRequires: gtest-devel
|
||||
BuildRequires: pkgconfig(liblz4)
|
||||
|
|
Loading…
Add table
Reference in a new issue