openbsd-ports/x11/mplayer/patches/patch-command_c
jakemsr 8cf7b6253f update to mplayer-export-snapshot-20100308
locally:
* fix audio when using bsdbt848 video driver (problems noted by simon@)
* allow 24-bit audio output formats in the sndio backend (from ratchov@)

mostly from edd@ (MAINTAINER)
2010-05-26 21:29:56 +00:00

13 lines
433 B
Plaintext

$OpenBSD: patch-command_c,v 1.2 2010/05/26 21:29:56 jakemsr Exp $
--- command.c.orig Sat Jan 30 23:24:23 2010
+++ command.c Mon Mar 8 14:28:42 2010
@@ -3167,7 +3167,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
case MP_CMD_RUN:
#ifndef __MINGW32__
if (!fork()) {
- execl("/bin/sh", "sh", "-c", cmd->args[0].v.s, NULL);
+ execl("/bin/sh", "sh", "-c", cmd->args[0].v.s, (char *)NULL);
exit(0);
}
#endif