--- xine-lib-1-rc8/configure.ac.orig 2004-12-14 23:06:47.000000000 +0100 +++ xine-lib-1-rc8/configure.ac 2004-12-21 21:03:55.484299736 +0100 @@ -460,21 +460,6 @@ AM_PATH_OPENGL() -dnl --------------------------------------------- -dnl Check for platform which supports syncfb -dnl --------------------------------------------- - -case "$host_or_hostalias" in - *linux* ) - have_syncfb="yes" - ;; - *) - have_syncfb="no" - ;; -esac -AM_CONDITIONAL(HAVE_SYNCFB, test x"$have_syncfb" = "xyes") - - dnl ---------------------------------------------- dnl Check for usable video-for-linux (v4l) support dnl ---------------------------------------------- @@ -555,6 +540,21 @@ esac AM_CONDITIONAL(PPC_ARCH, test x$ppc_arch = "xyes") +dnl --------------------------------------------- +dnl Check for platform which supports syncfb +dnl --------------------------------------------- + +case "$host_or_hostalias" in + *linux* ) + have_syncfb="yes" + ;; + *) + have_syncfb="no" + ;; +esac +AM_CONDITIONAL(HAVE_SYNCFB, test x"$have_syncfb" = "xyes") + + dnl dnl Check if we can enable the xxmc plugin. dnl @@ -2451,7 +2451,7 @@ if test x"$no_x" != "xyes"; then echo " - XShm (X11 shared memory)" dnl synfb - if test x$ac_have_syncfb = "xyes"; then + if test x$have_syncfb = "xyes"; then echo " - SyncFB (for Matrox G200/G400 cards)" fi dnl Xv --- xine-lib-1-rc8/src/video_out/video_out_syncfb.c.orig 2004-12-12 23:01:28.000000000 +0100 +++ xine-lib-1-rc8/src/video_out/video_out_syncfb.c 2004-12-21 21:18:33.031892224 +0100 @@ -46,6 +46,7 @@ #include #include #include +#include #include #include @@ -566,6 +567,7 @@ static void syncfb_overlay_blend(vo_driver_t* this_gen, vo_frame_t* frame_gen, vo_overlay_t* overlay) { + syncfb_driver_t* this = (syncfb_driver_t *) this_gen; syncfb_frame_t* frame = (syncfb_frame_t *) frame_gen; /* alpha blend here */