net-misc/eventd: reset XDG env wrt bug 618670
authorIlya Tumaykin <itumaykin@gmail.com>
Wed, 17 May 2017 01:34:13 +0000 (04:34 +0300)
committerMichał Górny <mgorny@gentoo.org>
Sun, 21 May 2017 21:03:41 +0000 (23:03 +0200)
Closes: https://github.com/gentoo/gentoo/pull/4651
Package-Manager: Portage-2.3.5, Repoman-2.3.2

net-misc/eventd/eventd-0.21.0.ebuild

index 94bec10b795131ac34e7364a37cd5f7a0ebd7363..e367b620f030c573da4ecbfa2b318ff147fbb4cf 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit linux-info systemd
+inherit linux-info systemd xdg-utils
 
 DESCRIPTION="A small daemon to act on remote or local events"
 HOMEPAGE="https://www.eventd.org/"
@@ -74,6 +74,9 @@ src_prepare() {
        sed -i \
                -e 's|libspeechd|speech-dispatcher/libspeechd|g' \
                plugins/tts/src/tts.c || die
+
+       # Prevent access violations from introspection metadata generation.
+       xdg_environment_reset
 }
 
 src_configure() {