openbsd-ports/audio/esound/patches/patch-esdlib_c
jakemsr 2eebabbd75 - update to 0.2.41
- replace audio(4) backend with sio_open(3) (libsndio) backend

update by ajacoutot, new backend from me
2008-12-20 08:58:32 +00:00

13 lines
417 B
Plaintext

$OpenBSD: patch-esdlib_c,v 1.2 2008/12/20 08:58:32 jakemsr Exp $
--- esdlib.c.orig Sun Dec 14 13:35:12 2008
+++ esdlib.c Sun Dec 14 13:35:42 2008
@@ -935,7 +935,7 @@ int esd_open_sound( const char *rhost )
* not included in the waiting time
*/
setsid();
- execl("/bin/sh", "/bin/sh", "-c", cmd, NULL);
+ execl("/bin/sh", "/bin/sh", "-c", cmd, (char *)NULL);
perror("execl");
_exit(1);
} else