summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2023-07-28 13:58:14 +0200
committerFlorian Schmaus <flow@gentoo.org>2023-07-28 13:59:26 +0200
commitc433d383887eeb559d1826becd4a5cf9944ca7f7 (patch)
treecd47c4896c19443dd5fbf7e23b89b93f76c0742a /net-analyzer/gsa
parentsci-libs/indilib: stop skipping test_base64 on BE (diff)
downloadgentoo-c433d383887eeb559d1826becd4a5cf9944ca7f7.tar.gz
gentoo-c433d383887eeb559d1826becd4a5cf9944ca7f7.tar.bz2
gentoo-c433d383887eeb559d1826becd4a5cf9944ca7f7.zip
net-analyzer/gsa: tell SVGR to behave
Closes: https://bugs.gentoo.org/909731 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-analyzer/gsa')
-rw-r--r--net-analyzer/gsa/gsa-22.5.0.ebuild6
1 files changed, 6 insertions, 0 deletions
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() {