mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
fa4b5f3e9b
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/d357f6bb-0af4-4ac9-b096-eeec183ad829.html
12 lines
498 B
Python
12 lines
498 B
Python
--- build/gn_run_binary.py.orig 2023-03-09 06:31:50 UTC
|
|
+++ build/gn_run_binary.py
|
|
@@ -23,7 +23,7 @@ if not os.path.isabs(path):
|
|
# The rest of the arguments are passed directly to the executable.
|
|
args = [path] + sys.argv[2:]
|
|
|
|
-ret = subprocess.call(args)
|
|
+ret = subprocess.call(args, env={"CHROME_EXE_PATH":"${WRKSRC}/out/Release/chrome","LD_LIBRARY_PATH":"${WRKSRC}/out/Release"})
|
|
if ret != 0:
|
|
if ret <= -100:
|
|
# Windows error codes such as 0xC0000005 and 0xC0000409 are much easier to
|