summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-19 01:23:07 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-19 01:23:07 +0000
commit56a56c4473a4d3790e48ae178f005f6e86b88cfb (patch)
tree77c2ae3d3976b17aee8445b0a2f7999b27fd19d5 /media-sound/pulseaudio/files
parentRemove old ebuilds. (diff)
downloadgentoo-2-56a56c4473a4d3790e48ae178f005f6e86b88cfb.tar.gz
gentoo-2-56a56c4473a4d3790e48ae178f005f6e86b88cfb.tar.bz2
gentoo-2-56a56c4473a4d3790e48ae178f005f6e86b88cfb.zip
Fix esdcompat patch that was incomplete.
(Portage version: 2.1.1_pre3-r1)
Diffstat (limited to 'media-sound/pulseaudio/files')
-rw-r--r--media-sound/pulseaudio/files/pulseaudio-0.9.2-esdcompat.patch33
1 files changed, 31 insertions, 2 deletions
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.2-esdcompat.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.2-esdcompat.patch
index 3ab8c4170e2a..8353857f4e52 100644
--- a/media-sound/pulseaudio/files/pulseaudio-0.9.2-esdcompat.patch
+++ b/media-sound/pulseaudio/files/pulseaudio-0.9.2-esdcompat.patch
@@ -2,7 +2,7 @@ Index: pulseaudio-0.9.2/src/daemon/esdcompat.in
===================================================================
--- pulseaudio-0.9.2.orig/src/daemon/esdcompat.in
+++ pulseaudio-0.9.2/src/daemon/esdcompat.in
-@@ -28,8 +28,7 @@ fail() {
+@@ -28,12 +28,8 @@ fail() {
ARGS=" --log-target=syslog"
@@ -10,5 +10,34 @@ Index: pulseaudio-0.9.2/src/daemon/esdcompat.in
-
+while [ -n "$1" ]; do
case "$1" in
- "")
+- "")
+- ;;
+-
+ -v|--version)
+ echo "$VERSION_STRING"
+ exit 0
+@@ -70,20 +66,23 @@ EOF
+ -spawnpid)
+ shift
+ ARGS="$ARGS '-Lmodule-esound-compat-spawnpid pid=$1'"
++ shift
+ ;;
+
+ -spawnfd)
+ shift
+ ARGS="$ARGS '-Lmodule-esound-compat-spawnfd fd=$1'"
++ shift
;;
+
+ -unix|-b|-public|-terminate|-nobeeps|-trust|-tcp|-promiscuous)
+ # Ignore these commands
++ shift
+ ;;
+
+ -d|-r|-as|-port|-bind)
+ # Ignore these commands and their arguments
+- shift
++ shift; shift
+
+ ;;
+