openbsd-ports/x11/mplayer/patches/patch-mplayer_c
jakemsr d11f853ac6 maintenence update to mplayer-1.0rc2
ok biorn@ (MAINTAINER), ajacoutot@, brad@
2008-02-08 17:32:41 +00:00

13 lines
643 B
Plaintext

$OpenBSD: patch-mplayer_c,v 1.8 2008/02/08 17:32:42 jakemsr Exp $
--- mplayer.c.orig Sun Oct 7 12:49:33 2007
+++ mplayer.c Sun Dec 16 21:06:56 2007
@@ -774,7 +774,7 @@ static void exit_sighandler(int x){
gdb_pid = fork();
mp_msg(MSGT_CPLAYER, MSGL_INFO, "Forked...\n");
if (gdb_pid == 0) { // We are the child
- if (execlp("gdb", "gdb", prog_path, spid, NULL) == -1)
+ if (execlp("gdb", "gdb", prog_path, spid, (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");