summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2011-11-14 06:10:32 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2011-11-14 06:10:32 +0000
commitd70d7aca007760620ec4a0e26a3655ab6eac1af0 (patch)
tree7a7685aa0430fdc0b910ada91ddc1f2454ffb825 /eclass/gnome2.eclass
parentFix libavutil usage (diff)
downloadgentoo-2-d70d7aca007760620ec4a0e26a3655ab6eac1af0.tar.gz
gentoo-2-d70d7aca007760620ec4a0e26a3655ab6eac1af0.tar.bz2
gentoo-2-d70d7aca007760620ec4a0e26a3655ab6eac1af0.zip
Add gnome2_environment_reset() to reset env variables that often cause build or test failures (most recently bug #380639). The XDG_* resetting code had been tested in the gnome overlay for months with good results.
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 9813fc875661..8256c51434b2 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.102 2011/09/25 15:15:21 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.103 2011/11/14 06:10:32 tetromino Exp $
# @ECLASS: gnome2.eclass
# @MAINTAINER:
@@ -88,8 +88,8 @@ gnome2_src_unpack() {
# Prepare environment for build, fix build of scrollkeeper documentation,
# run elibtoolize.
gnome2_src_prepare() {
- # GST_REGISTRY is to work around gst utilities trying to read/write /root
- export GST_REGISTRY="${T}/registry.xml"
+ # Prevent assorted access violations and test failures
+ gnome2_environment_reset
# Prevent scrollkeeper access violations
gnome2_omf_fix