openbsd-ports/x11/mplayer/patches/patch-libvo_x11_common_c

13 lines
497 B
Plaintext
Raw Normal View History

$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";