summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Jolly <Matt.Jolly@footclan.ninja>2024-01-28 20:51:40 +1000
committerSam James <sam@gentoo.org>2024-01-31 09:41:20 +0000
commitf48b12db292959fbc68cc38066e6cfdf1e19cd9e (patch)
tree66d5241a3b91d5fd6740e940a5d28c41e39b5689 /www-client/chromium/files
parentnet-libs/mbedtls: drop 2.28.6, 3.5.1 (diff)
downloadgentoo-f48b12db292959fbc68cc38066e6cfdf1e19cd9e.tar.gz
gentoo-f48b12db292959fbc68cc38066e6cfdf1e19cd9e.tar.bz2
gentoo-f48b12db292959fbc68cc38066e6cfdf1e19cd9e.zip
www-client/chromium: add 122.0.6261.6-r1
This ebuild adds support for building with a reduced patchset, using the Google toolchain. It's not going to be nearly as flexible as using the system toolchain, but will help to future-proof us against the use of prerelease clang or rust features in a stable ebuild. Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r--www-client/chromium/files/chromium-117-system-zstd.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-117-system-zstd.patch b/www-client/chromium/files/chromium-117-system-zstd.patch
new file mode 100644
index 000000000000..0fcd3efc3a05
--- /dev/null
+++ b/www-client/chromium/files/chromium-117-system-zstd.patch
@@ -0,0 +1,46 @@
+From ae3ae3711784865bdc38bf119a6182a7b8dae91c Mon Sep 17 00:00:00 2001
+From: Matt Jolly <Matt.Jolly@footclan.ninja>
+Date: Sun, 17 Sep 2023 16:51:42 +1000
+Subject: [PATCH] Add system-zstd
+
+--- a/build/linux/unbundle/replace_gn_files.py
++++ b/build/linux/unbundle/replace_gn_files.py
+@@ -74,6 +74,7 @@ REPLACEMENTS = {
+ #
+ '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,25 @@
++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("decompress") {
++ deps = [ ":zstd_shim" ]
++ public_configs = [ ":system_zstd" ]
++}
+--
+2.42.0
+