summaryrefslogtreecommitdiff
path: root/audio/esound
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-02-18 10:10:18 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-02-18 10:10:18 +0000
commit3639e8a7726365229563d85bd160a06cd24c8734 (patch)
tree78e59f1a82ed7d23861729b19958bc0691c5644d /audio/esound
parentCompface port removed. The same utilities can be found in mail/faces. (diff)
Prevent /bin/sh from hanging around along with esd just polluting ps(1) output.
This is more a "style" fix than anything else, so that leave PORTREVISION intact.
Notes
Notes: svn path=/head/; revision=54863
Diffstat (limited to 'audio/esound')
-rw-r--r--audio/esound/files/patch-ad20
1 files changed, 16 insertions, 4 deletions
diff --git a/audio/esound/files/patch-ad b/audio/esound/files/patch-ad
index 9d85c98df16a..a4f484e8f3e6 100644
--- a/audio/esound/files/patch-ad
+++ b/audio/esound/files/patch-ad
@@ -1,6 +1,9 @@
---- esdlib.c.orig Thu Jun 29 23:31:04 2000
-+++ esdlib.c Thu Jun 29 23:31:21 2000
-@@ -19,6 +19,8 @@
+
+$FreeBSD$
+
+--- esdlib.c.orig Sun Sep 9 21:56:36 2001
++++ esdlib.c Mon Feb 18 12:00:57 2002
+@@ -20,6 +20,8 @@
#include <arpa/inet.h>
#include <errno.h>
#include <sys/wait.h>
@@ -9,7 +12,16 @@
#include <sys/un.h>
-@@ -1421,4 +1423,34 @@
+@@ -651,7 +653,7 @@
+ setsid();
+ cmd = malloc(sizeof("esd ") + esd_spawn_options?strlen(esd_spawn_options):0);
+
+- sprintf(cmd, "esd %s -spawnfd %d", esd_spawn_options?esd_spawn_options:"", esd_pipe[1]);
++ sprintf(cmd, "exec esd %s -spawnfd %d", esd_spawn_options?esd_spawn_options:"", esd_pipe[1]);
+
+ execl("/bin/sh", "/bin/sh", "-c", cmd, NULL);
+ perror("execl");
+@@ -1411,4 +1413,34 @@
*/
return close( esd );