Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37736647
en ru br
ALT Linux repos
S:117.0.5938.132-alt1
3.0: 0.9.12-alt7

Group :: Networking/WWW
RPM: chromium

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 0016-FEDORA-bootstrap-with-python3.patch
Download


From 0f09e5ca8e4e74c0871599da5781d8eef5b02fcf Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Wed, 11 Aug 2021 13:44:23 +0300
Subject: [PATCH] FEDORA: bootstrap with python3
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
---
 tools/gn/bootstrap/bootstrap.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py
index 6617d636c85..1e908113596 100755
--- a/tools/gn/bootstrap/bootstrap.py
+++ b/tools/gn/bootstrap/bootstrap.py
@@ -123,17 +123,17 @@ def main(argv):
       os.path.join(BOOTSTRAP_DIR, 'last_commit_position.h'), gn_build_dir)
   subprocess.check_call(
       [ninja_binary, '-C', gn_build_dir, '-w', 'dupbuild=err', 'gn'])
   shutil.copy2(os.path.join(gn_build_dir, 'gn'), gn_path)
 
   if not options.skip_generate_buildfiles:
     gn_gen_args = options.gn_gen_args or ''
     if not options.debug:
       gn_gen_args += ' is_debug=false'
     subprocess.check_call([
-        gn_path, 'gen', out_dir,
+        gn_path, 'gen', out_dir, ' --script-executable=/usr/bin/python3',
         '--args=%s' % gn_gen_args, "--root=" + SRC_ROOT
     ])
 
 
 if __name__ == '__main__':
   sys.exit(main(sys.argv[1:]))
-- 
2.25.4
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin