summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-08-17 22:25:45 +0000
committerMike Frysinger <vapier@gentoo.org>2009-08-17 22:25:45 +0000
commit9336c9aeeee322f812630fc64d668c34f5fef97e (patch)
treed8a2fb41e77121fba3d754480c445cccc833cb63 /sys-apps/hal
parentuse-based deps instead of need-wxwidgets (diff)
downloadgentoo-2-9336c9aeeee322f812630fc64d668c34f5fef97e.tar.gz
gentoo-2-9336c9aeeee322f812630fc64d668c34f5fef97e.tar.bz2
gentoo-2-9336c9aeeee322f812630fc64d668c34f5fef97e.zip
Add workaround for PATH truncation #267928.
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/hal')
-rw-r--r--sys-apps/hal/ChangeLog5
-rw-r--r--sys-apps/hal/files/0.5.10-hald.rc4
2 files changed, 7 insertions, 2 deletions
diff --git a/sys-apps/hal/ChangeLog b/sys-apps/hal/ChangeLog
index 0c26c399a5a8..45b8f6fccf0a 100644
--- a/sys-apps/hal/ChangeLog
+++ b/sys-apps/hal/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/hal
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.296 2009/08/17 11:49:49 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.297 2009/08/17 22:25:45 vapier Exp $
+
+ 17 Aug 2009; Mike Frysinger <vapier@gentoo.org> files/0.5.10-hald.rc:
+ Add workaround for PATH truncation #267928.
17 Aug 2009; Alexis Ballier <aballier@gentoo.org> hal-0.5.13-r2.ebuild:
Keyword -x86-fbsd until bug #281746 is fixed
diff --git a/sys-apps/hal/files/0.5.10-hald.rc b/sys-apps/hal/files/0.5.10-hald.rc
index af26ee6faf9b..96f81dd0163d 100644
--- a/sys-apps/hal/files/0.5.10-hald.rc
+++ b/sys-apps/hal/files/0.5.10-hald.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/files/0.5.10-hald.rc,v 1.3 2009/05/02 00:16:39 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/files/0.5.10-hald.rc,v 1.4 2009/08/17 22:25:45 vapier Exp $
depend() {
use logger acpid consolekit
@@ -28,6 +28,8 @@ start() {
chmod 440 /proc/acpi/event
fi
+ [ ${#PATH} -gt 512 ] && export PATH=/usr/libexec:${PATH} #267928
+
start-stop-daemon --start -q --exec /usr/sbin/hald -- --use-syslog --verbose=${HALD_VERBOSE}
eend $?
}