summaryrefslogtreecommitdiff
path: root/www-client/chromium/files
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2023-10-07 02:21:04 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2023-10-07 02:32:00 -0400
commit7d9808f2f6834fa2f1e1c1e25cb58cdfd340f6c1 (patch)
treed41b8177d273da48e3b2d3b6a5936c2d5e9ca95b /www-client/chromium/files
parent1affeb599fdd2c32cbaccb6e40366953753dd17b (diff)
downloadppo-7d9808f2f6834fa2f1e1c1e25cb58cdfd340f6c1.tar.xz
atspi? (bad patch don't use)
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r--www-client/chromium/files/chromium-119-atspi2-build.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-119-atspi2-build.patch b/www-client/chromium/files/chromium-119-atspi2-build.patch
new file mode 100644
index 0000000..f126c16
--- /dev/null
+++ b/www-client/chromium/files/chromium-119-atspi2-build.patch
@@ -0,0 +1,30 @@
+diff --git a/build/config/linux/atspi2/BUILD.gn b/build/config/linux/atspi2/BUILD.gn
+index d1629205c8..886f978b33 100644
+--- a/build/config/linux/atspi2/BUILD.gn
++++ b/build/config/linux/atspi2/BUILD.gn
+@@ -11,25 +11,5 @@ assert(current_toolchain == default_toolchain)
+ if (use_atk) {
+ pkg_config("atspi2") {
+ packages = [ "atspi-2" ]
+- atspi_version = exec_script(pkg_config_script,
+- common_pkg_config_args + pkg_config_args + [
+- "atspi-2",
+- "--version-as-components",
+- ],
+- "value")
+- major = atspi_version[0]
+- minor = atspi_version[1]
+- micro = atspi_version[2]
+-
+- # ATSPI 2.49.90 now defines these for us and it's an error for us to
+- # redefine them on the compiler command line.
+- # See ATSPI 927344a34cd5bf81fc64da4968241735ecb4f03b
+- if (minor < 49 || (minor == 49 && micro < 90)) {
+- defines = [
+- "ATSPI_MAJOR_VERSION=$major",
+- "ATSPI_MINOR_VERSION=$minor",
+- "ATSPI_MICRO_VERSION=$micro",
+- ]
+- }
+ }
+ }