diff --git a/srcpkgs/chromium/patches/make-dom-distiller-protoc-plugin-call-py2.7.patch b/srcpkgs/chromium/patches/make-dom-distiller-protoc-plugin-call-py2.7.patch new file mode 100644 index 00000000000..2a6100f9208 --- /dev/null +++ b/srcpkgs/chromium/patches/make-dom-distiller-protoc-plugin-call-py2.7.patch @@ -0,0 +1,37 @@ +From 359b22d3f775afa33cca9e4f8fb57eadd0ec4118 Mon Sep 17 00:00:00 2001 +From: Nico Weber +Date: Fri, 23 Apr 2021 16:22:19 +0000 +Subject: [PATCH] Make dom distiller protoc plugin explicitly call py2.7 + +With this, chrome builds with when `/usr/bin/env python` is py3. + +Bug: 1202134 +Change-Id: Ibbd97a1311ccb34d46f266912c871fd0522f9535 +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2848445 +Commit-Queue: Nico Weber +Commit-Queue: Yaron Friedman +Commit-Queue: Dirk Pranke +Auto-Submit: Nico Weber +Reviewed-by: Yaron Friedman +Reviewed-by: Dirk Pranke +Cr-Commit-Position: refs/heads/master@{#875702} +--- + .../dom_distiller_js/protoc_plugins/json_values_converter.py | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/third_party/dom_distiller_js/protoc_plugins/json_values_converter.py b/third_party/dom_distiller_js/protoc_plugins/json_values_converter.py +index e86a88c759fcb..cae1a998c4650 100755 +--- a/third_party/dom_distiller_js/protoc_plugins/json_values_converter.py ++++ b/third_party/dom_distiller_js/protoc_plugins/json_values_converter.py +@@ -1,7 +1,10 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2.7 + # Copyright 2016 The Chromium Authors. All rights reserved. + # Use of this source code is governed by a BSD-style license that can be + # found in the LICENSE file. ++# ++# TODO(crbug.com/1202134): Switch run line back to just "python" ++# once things are py3-compatible. + + """protoc plugin to create C++ reader/writer for JSON-encoded protobufs + diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index 2c1bb5d7a35..1178b2a9fb2 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -1,7 +1,7 @@ # Template file for 'chromium' pkgname=chromium # See http://www.chromium.org/developers/calendar for the latest version -version=91.0.4472.77 +version=91.0.4472.114 revision=1 archs="i686* x86_64* aarch64* armv7l* ppc64le*" short_desc="Google's attempt at creating a safer, faster, and more stable browser" @@ -9,7 +9,7 @@ maintainer="Enno Boland " license="BSD-3-Clause" homepage="https://www.chromium.org/" distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz" -checksum=45d5a43ef798d20313c78fa8a075be0c22055e39c8481eb53eabda81df901b31 +checksum=c1c7fe783f3250978503d4bd53144039bd818de8a6e89de493f27dd5168f7e71 nocross=yes lib32disabled=yes