commit: c433d383887eeb559d1826becd4a5cf9944ca7f7 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Fri Jul 28 11:58:14 2023 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Fri Jul 28 11:59:26 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c433d383
net-analyzer/gsa: tell SVGR to behave Closes: https://bugs.gentoo.org/909731 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> net-analyzer/gsa/gsa-22.5.0.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/net-analyzer/gsa/gsa-22.5.0.ebuild b/net-analyzer/gsa/gsa-22.5.0.ebuild index e25fbab90bcd..4c4f40abe0b8 100644 --- a/net-analyzer/gsa/gsa-22.5.0.ebuild +++ b/net-analyzer/gsa/gsa-22.5.0.ebuild @@ -28,6 +28,12 @@ src_prepare() { default # We will use pre-generated npm stuff. mv "${WORKDIR}/${MY_NODE_N}" "${MY_NODE_DIR}" || die "couldn't move node_modules" + + # Make SVGR not traverse the path up to / looking for a + # configuration file. Fixes + # Error: EACCES: permission denied, open '/.config/svgrrc' + # in case a directory /.config exists, see https://bugs.gentoo.org/909731 + echo "runtimeConfig: false" > .svgrrc.yml || die } src_compile() {
