commit:     cdd27dc324a62798c15995be5b4dad60130a369d
Author:     Sergiy Borodych <Sergiy.Borodych <AT> gmail <DOT> com>
AuthorDate: Mon Nov  7 12:39:57 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Nov  7 20:34:21 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdd27dc3

dev-perl/Glib-Object-Introspection: fix sandbox issue (bug #599128)

Closes: https://github.com/gentoo/gentoo/pull/2770

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../Glib-Object-Introspection-0.40.0.ebuild                         | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/dev-perl/Glib-Object-Introspection/Glib-Object-Introspection-0.40.0.ebuild 
b/dev-perl/Glib-Object-Introspection/Glib-Object-Introspection-0.40.0.ebuild
index 098e064..cfb0363 100644
--- a/dev-perl/Glib-Object-Introspection/Glib-Object-Introspection-0.40.0.ebuild
+++ b/dev-perl/Glib-Object-Introspection/Glib-Object-Introspection-0.40.0.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 
 DIST_AUTHOR=XAOC
 DIST_VERSION=0.040
-inherit perl-module
+inherit perl-module xdg-utils
 
 DESCRIPTION="Dynamically create Perl language bindings"
 
@@ -26,3 +26,7 @@ DEPEND="
        >=dev-perl/extutils-pkgconfig-1.0.0
        ${RDEPEND}
 "
+
+pkg_setup() {
+       xdg_environment_reset   # bug #599128
+}

Reply via email to