diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-19 12:05:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-19 12:05:02 +0100 |
commit | b6cfc0c19effe2d9f7b8ab303cd00636f16da253 (patch) | |
tree | a0158050dac0a7ebfb9df4f667ec6ad2dd185538 /www-client/chromium/files/chromium-125-system-zstd.patch | |
parent | 2d01b3d133c0fbf17de8d7b47905585af88bd6e4 (diff) |
gentoo auto-resync : 19:04:2024 - 12:05:02
Diffstat (limited to 'www-client/chromium/files/chromium-125-system-zstd.patch')
-rw-r--r-- | www-client/chromium/files/chromium-125-system-zstd.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-125-system-zstd.patch b/www-client/chromium/files/chromium-125-system-zstd.patch new file mode 100644 index 000000000000..6211662f98fa --- /dev/null +++ b/www-client/chromium/files/chromium-125-system-zstd.patch @@ -0,0 +1,53 @@ +From 4ac5e29c999c7bbcb8409a2008b0061e1ae365dd Mon Sep 17 00:00:00 2001 +From: Matt Jolly <Matt.Jolly@footclan.ninja> +Date: Thu, 18 Apr 2024 21:54:54 +1000 +Subject: [PATCH] Zstd now needs compress, too + +Existing patch updated for 125, added source_set("compress") + +--- a/build/linux/unbundle/replace_gn_files.py ++++ b/build/linux/unbundle/replace_gn_files.py +@@ -80,6 +80,7 @@ REPLACEMENTS = { + 'vulkan_memory_allocator' : 'third_party/vulkan_memory_allocator/BUILD.gn', + 'woff2': 'third_party/woff2/BUILD.gn', + 'zlib': 'third_party/zlib/BUILD.gn', ++ 'zstd': 'third_party/zstd/BUILD.gn', + } + + +--- /dev/null ++++ b/build/linux/unbundle/zstd.gn +@@ -0,0 +1,30 @@ ++import("//build/config/linux/pkg_config.gni") ++import("//build/shim_headers.gni") ++ ++pkg_config("system_zstd") { ++ packages = [ "libzstd" ] ++} ++ ++shim_headers("zstd_shim") { ++ root_path = "src/lib" ++ headers = [ ++ "zdict.h", ++ "zstd.h", ++ "zstd_errors.h", ++ ] ++} ++ ++source_set("zstd") { ++ deps = [ ":zstd_shim" ] ++ public_configs = [ ":system_zstd" ] ++} ++ ++source_set("compress") { ++ deps = [ ":zstd_shim" ] ++ public_configs = [ ":system_zstd" ] ++} ++ ++source_set("decompress") { ++ deps = [ ":zstd_shim" ] ++ public_configs = [ ":system_zstd" ] ++} +-- +2.44.0 + |