Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 394715 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/www-client/firefox/firefox-11.0-r1.ebuild (-9 / +9 lines)
Lines 96-110 Link Here
96
pkg_setup() {
96
pkg_setup() {
97
	moz_pkgsetup
97
	moz_pkgsetup
98
98
99
	# Avoid PGO profiling problems due to enviroment leakage
100
	# These should *always* be cleaned up anyway
101
	unset DBUS_SESSION_BUS_ADDRESS \
102
		DISPLAY \
103
		ORBIT_SOCKETDIR \
104
		SESSION_MANAGER \
105
		XDG_SESSION_COOKIE \
106
		XAUTHORITY
107
108
	if ! use bindist; then
99
	if ! use bindist; then
109
		einfo
100
		einfo
110
		elog "You are enabling official branding. You may not redistribute this build"
101
		elog "You are enabling official branding. You may not redistribute this build"
Lines 232-237 Link Here
232
		# Reset and cleanup environment variables used by GNOME/XDG
223
		# Reset and cleanup environment variables used by GNOME/XDG
233
		gnome2_environment_reset
224
		gnome2_environment_reset
234
225
226
		# Avoid PGO profiling problems due to enviroment leakage
227
		# These should *always* be cleaned up anyway
228
		unset DBUS_SESSION_BUS_ADDRESS \
229
		DISPLAY \
230
		ORBIT_SOCKETDIR \
231
		SESSION_MANAGER \
232
		XDG_SESSION_COOKIE \
233
		XAUTHORITY
234
235
		# Firefox tries to use dri stuff when it's run, see bug 380283
235
		# Firefox tries to use dri stuff when it's run, see bug 380283
236
		shopt -s nullglob
236
		shopt -s nullglob
237
		cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
237
		cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')

Return to bug 394715