aboutsummaryrefslogtreecommitdiffstats
path: root/x11/electricsheep/files/patch-mpeg2dec_libvo_vroot.h
blob: 0d05f50a065be70557df52513f600f2eda457cf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- mpeg2dec/libvo/vroot.h.orig Thu Dec 12 04:33:33 2002
+++ mpeg2dec/libvo/vroot.h  Sun Jan 25 00:42:03 2004
@@ -98,7 +98,11 @@
                    __SWM_VROOT, 0, 1, False, XA_WINDOW,
                    &actual_type, &actual_format,
                    &nitems, &bytesafter,
+#ifdef __FreeBSD__     
+                   (void *)&newRoot) == Success
+#else
                    (unsigned char **) &newRoot) == Success
+#endif
                    && newRoot) {
                    root = *newRoot;
                    break;