openbsd-ports/x11/mplayer/patches/patch-libmenu_menu_console_c
edd 666f370183 Update to mplayer-20101024. Noteworthy improvements include vpx
(webm) support and alpha support. This work is a joint effort from
myself, naddy@ and jakemsr@. Cheers.

OK jakemsr@
2010-11-08 21:25:44 +00:00

13 lines
494 B
Plaintext

$OpenBSD: patch-libmenu_menu_console_c,v 1.3 2010/11/08 21:25:44 edd Exp $
--- libmenu/menu_console.c.orig Sun Oct 24 11:11:55 2010
+++ libmenu/menu_console.c Sun Oct 24 11:12:56 2010
@@ -321,7 +321,7 @@ static int run_shell_cmd(menu_t* menu, char* cmd) {
dup2(in[0],0);
dup2(out[1],1);
dup2(err[1],2);
- execl("/bin/sh","sh","-c",cmd,(void*)NULL);
+ execl("/bin/sh","sh","-c",cmd,(char *) NULL);
fprintf(errf,"exec failed : %s\n",strerror(errno));
exit(1);
}