openbsd-ports/x11/mplayer/patches/patch-command_c
edd b4530c988d New version of mplayer based upon a snapshot (20090708).
* fixes some flv playback
  * removed ggi output - broken i386/sparc64.
  * removed gui (deprecated) - use gnome-mplayer instead.
  * removed win32 codecs - opensource codecs are good quality.

OK, naddy@, sthen@
2009-10-11 13:36:23 +00:00

13 lines
429 B
Plaintext

$OpenBSD: patch-command_c,v 1.1 2009/10/11 13:36:23 edd Exp $
--- command.c.orig Sun Jul 12 08:12:25 2009
+++ command.c Sun Jul 12 08:12:46 2009
@@ -3131,7 +3131,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