diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-02-18 10:10:18 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-02-18 10:10:18 +0000 |
commit | 3639e8a7726365229563d85bd160a06cd24c8734 (patch) | |
tree | 78e59f1a82ed7d23861729b19958bc0691c5644d /audio/esound | |
parent | 013758da343bc5e287b013799e7fa7c27f086747 (diff) | |
download | ports-3639e8a7726365229563d85bd160a06cd24c8734.tar.gz ports-3639e8a7726365229563d85bd160a06cd24c8734.zip |
Notes
Diffstat (limited to 'audio/esound')
-rw-r--r-- | audio/esound/files/patch-ad | 20 |
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 ); |