commit: 800aa7f0164ae8bcfc9f83eb4dafa2aaaaac7a9d
parent 27a6a5c2a9e195a78f0b1f7bcae0421867a18e83
Author: Michael Forney <mforney@mforney.org>
Date: Thu, 7 Jan 2021 22:26:16 -0800
zstd: Update to 1.4.8
Diffstat:
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/pkg/zstd/gen.lua b/pkg/zstd/gen.lua
@@ -1,6 +1,7 @@
cflags{
'-Wall', '-Wextra', '-Wpedantic',
'-D ZSTD_LEGACY_SUPPORT=0',
+ '-D ZSTD_NO_UNUSED_FUNCTIONS',
'-D ZSTD_MULTITHREAD',
'-D XXH_NAMESPACE=ZSTD_',
'-D ZSTD_NOBENCH',
diff --git a/pkg/zstd/patch/0001-Only-use-__asm__-on-GNU-compatible-compilers.patch b/pkg/zstd/patch/0001-Only-use-__asm__-on-GNU-compatible-compilers.patch
@@ -1,4 +1,4 @@
-From 6900865fb61bba4d91472d845118e0ffac4f7e39 Mon Sep 17 00:00:00 2001
+From 7bc019c4c96b4eae8fe05dd31c4ea781441d437c Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Mon, 10 Jun 2019 01:47:01 -0700
Subject: [PATCH] Only use __asm__ on GNU-compatible compilers
@@ -8,10 +8,10 @@ Subject: [PATCH] Only use __asm__ on GNU-compatible compilers
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/common/cpu.h b/lib/common/cpu.h
-index 5f0923fc..76267fc3 100644
+index cb210593..3c43f816 100644
--- a/lib/common/cpu.h
+++ b/lib/common/cpu.h
-@@ -84,7 +84,7 @@ MEM_STATIC ZSTD_cpuid_t ZSTD_cpuid(void) {
+@@ -82,7 +82,7 @@ MEM_STATIC ZSTD_cpuid_t ZSTD_cpuid(void) {
: "a"(7), "c"(0)
: "edx");
}
@@ -21,5 +21,5 @@ index 5f0923fc..76267fc3 100644
__asm__("cpuid" : "=a"(n) : "a"(0) : "ebx", "ecx", "edx");
if (n >= 1) {
--
-2.20.1
+2.29.2
diff --git a/pkg/zstd/ver b/pkg/zstd/ver
@@ -1 +1 @@
-1.4.5 r0
+1.4.8 r0