openbsd-ports/audio/esound/patches/patch-esdlib_c

13 lines
417 B
Plaintext
Raw Normal View History

$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