summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
+
+ ;;
+