chromium: fixup commit 33557ac
Helps with #17460
@cleverca22 saw calls to SetuidSandboxHost::GetSandboxBinaryPath so we
patch this function instead.
cc @joachifm
commitd6528a1b7fad8bdcd5f9ff8cc11565e6c4a1747a
authorobadz <obadz-git@obadz.com>
dateFri 5 Aug 2016, 10:55 (10 years ago)
parent3823033
pkgs/applications/networking/browsers/chromium/common.nix+2−2
@@ -137,8 +137,8 @@ let
137137 # We want to be able to specify where the sandbox is via CHROME_DEVEL_SANDBOX
138138 substituteInPlace sandbox/linux/suid/client/setuid_sandbox_host.cc \
139139 --replace \
140− 'std::string sandbox_binary(GetSandboxBinaryPath().value());' \
141− 'std::string sandbox_binary(GetDevelSandboxPath());'
140+ 'return sandbox_binary;' \
141+ 'return base::FilePath(GetDevelSandboxPath());'
142142
143143 sed -i -r \
144144 -e 's/-f(stack-protector)(-all)?/-fno-\1/' \