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

$OpenBSD: patch-libvo_x11_common_c,v 1.4 2010/11/08 21:25:44 edd Exp $
--- libvo/x11_common.c.orig Sat Nov 6 05:50:16 2010
+++ libvo/x11_common.c Sat Nov 6 05:50:59 2010
@@ -735,7 +735,7 @@ void vo_x11_decoration(Display * vo_Display, Window w,
void vo_x11_classhint(Display * display, Window window, const char *name)
{
XClassHint wmClass;
- pid_t pid = getpid();
+ long pid = getpid();
wmClass.res_name = vo_winname ? vo_winname : name;
wmClass.res_class = "MPlayer";