diff --git a/config_bundles/common/patch_order.list b/config_bundles/common/patch_order.list index 057de3ad..cfbe39a8 100644 --- a/config_bundles/common/patch_order.list +++ b/config_bundles/common/patch_order.list @@ -112,6 +112,7 @@ ungoogled-chromium/remove-third-party-analytics.patch ungoogled-chromium/gn-bootstrap-remove-gn-gen.patch ungoogled-chromium/disable-webgl-renderer-info.patch ungoogled-chromium/add-flag-to-show-avatar-button.patch +ungoogled-chromium/no-such-option-no-sysroot.patch bromite/fingerprinting-flags-client-rects-and-measuretext.patch bromite/flag-max-connections-per-host.patch diff --git a/patches/ubuntu/no-new-ninja-flag.patch b/patches/ubuntu/no-new-ninja-flag.patch index 14d7e0f7..392c152e 100644 --- a/patches/ubuntu/no-new-ninja-flag.patch +++ b/patches/ubuntu/no-new-ninja-flag.patch @@ -3,7 +3,7 @@ Author: Olivier Tilloy --- a/tools/gn/bootstrap/bootstrap.py +++ b/tools/gn/bootstrap/bootstrap.py -@@ -81,10 +81,10 @@ def main(argv): +@@ -75,10 +75,10 @@ def main(argv): os.path.join(BOOTSTRAP_DIR, 'last_commit_position.h'), gn_build_dir) if options.jobs: subprocess.check_call( diff --git a/patches/ungoogled-chromium/no-such-option-no-sysroot.patch b/patches/ungoogled-chromium/no-such-option-no-sysroot.patch new file mode 100644 index 00000000..e5337aeb --- /dev/null +++ b/patches/ungoogled-chromium/no-such-option-no-sysroot.patch @@ -0,0 +1,24 @@ +# Removes the --no-sysroot option, not a valid option anymore + +--- a/tools/gn/bootstrap/bootstrap.py ++++ b/tools/gn/bootstrap/bootstrap.py +@@ -45,10 +45,6 @@ def main(argv): + '--build-path', + help='The directory in which to build gn, ' + 'relative to the src directory. (eg. out/Release)') +- parser.add_option( +- '--with-sysroot', +- action='store_true', +- help='Download and build with the Debian sysroot.') + parser.add_option('-v', '--verbose', help='ignored') + parser.add_option('-j', '--jobs', help='Number of jobs') + options, args = parser.parse_args(argv) +@@ -71,8 +67,6 @@ def main(argv): + '--no-last-commit-position', + '--out-path=' + gn_build_dir, + ] +- if not options.with_sysroot: +- cmd.append('--no-sysroot') + if options.debug: + cmd.append('--debug') + subprocess.check_call(cmd)