1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-01 11:59:23 +00:00

Ports/zstd: Update zstd to version 1.5.5

This commit is contained in:
EWouters 2023-09-02 01:49:34 +02:00 committed by Jelle Raaijmakers
parent df50d6ccfa
commit af7b4609b6
4 changed files with 29 additions and 3 deletions

View File

@ -340,4 +340,4 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`zig`](zig/) | Zig programming language | 0.12.0-dev.141+ddf5859c2 | https://ziglang.org/ |
| [`zlib`](zlib/) | zlib | 1.3 | https://www.zlib.net/ |
| [`zsh`](zsh/) | Z Shell (Zsh) | 5.9 | https://www.zsh.org |
| [`zstd`](zstd/) | Zstandard | 1.5.2 | https://facebook.github.io/zstd/ |
| [`zstd`](zstd/) | Zstandard | 1.5.5 | https://facebook.github.io/zstd/ |

View File

@ -1,8 +1,8 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='zstd'
version='1.5.2'
version='1.5.5'
files=(
"https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz#7c42d56fac126929a6a85dbc73ff1db2411d04f104fae9bdea51305663a83fd0"
"https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz#9c4396cc829cfae319a6e2615202e82aad41372073482fce286fac78646d3ee4"
)
useconfigure='true'

View File

@ -0,0 +1,21 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: EWouters <6179932+EWouters@users.noreply.github.com>
Date: Sat, 2 Sep 2023 19:05:41 +0200
Subject: [PATCH] Include stdio.h in `programs/util.h`
---
programs/util.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/programs/util.h b/programs/util.h
index 8234646bf3dc61e482f8331795b8bf54a7aa0746..4a8596169126b19f7612a743a0b4576c5c97c414 100644
--- a/programs/util.h
+++ b/programs/util.h
@@ -24,6 +24,7 @@ extern "C" {
#include <sys/types.h> /* stat, utime */
#include <sys/stat.h> /* stat, chmod */
#include "../lib/common/mem.h" /* U64 */
+#include <stdio.h>
/*-************************************************************

View File

@ -10,3 +10,8 @@ Fix linker soname flags
Make platform.h understand that serenity is posix-compliant
## `0003-Include-stdio.h-in-programs-util.h.patch`
Include stdio.h in `programs/util.h`