openbsd-ports/x11/mplayer/patches/patch-mplayer_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
690 B
Plaintext

$OpenBSD: patch-mplayer_c,v 1.10 2010/11/08 21:25:44 edd Exp $
--- mplayer.c.orig Sun Oct 24 11:13:11 2010
+++ mplayer.c Sun Oct 24 11:13:29 2010
@@ -852,7 +852,7 @@ static void exit_sighandler(int x){
char spid[20];
snprintf(spid, sizeof(spid), "%i", getppid());
getch2_disable(); // allow terminal to work properly with gdb
- if (execlp("gdb", "gdb", prog_path, spid, "-ex", "bt", NULL) == -1)
+ if (execlp("gdb", "gdb", prog_path, spid, "-ex", "bt", (char *) NULL) == -1)
mp_msg(MSGT_CPLAYER, MSGL_ERR, "Couldn't start gdb\n");
} else if (gdb_pid < 0)
mp_msg(MSGT_CPLAYER, MSGL_ERR, "Couldn't fork\n");