$OpenBSD: patch-modules_video_output_x11_xcommon_c,v 1.2 2003/08/22 21:32:46 espie Exp $
--- modules/video_output/x11/xcommon.c.orig	2003-08-13 20:39:52.000000000 +0200
+++ modules/video_output/x11/xcommon.c	2003-08-22 22:38:41.000000000 +0200
@@ -75,8 +75,13 @@
 /*****************************************************************************
  * Local prototypes
  *****************************************************************************/
+#ifdef MODULE_NAME_IS_xvideo
+int  E_(XVActivate)   ( vlc_object_t * );
+void E_(XVDeactivate) ( vlc_object_t * );
+#else
 int  E_(Activate)   ( vlc_object_t * );
 void E_(Deactivate) ( vlc_object_t * );
+#endif
 
 static int  InitVideo      ( vout_thread_t * );
 static void EndVideo       ( vout_thread_t * );
@@ -126,7 +131,11 @@ static void TestNetWMSupport( vout_threa
  * vout properties to choose the window size, and change them according to the
  * actual properties of the display.
  *****************************************************************************/
+#ifdef MODULE_NAME_IS_xvideo
+int E_(XVActivate) ( vlc_object_t *p_this )
+#else
 int E_(Activate) ( vlc_object_t *p_this )
+#endif
 {
     vout_thread_t *p_vout = (vout_thread_t *)p_this;
     char *       psz_display;
@@ -281,7 +295,11 @@ int E_(Activate) ( vlc_object_t *p_this 
  *****************************************************************************
  * Terminate an output method created by Open
  *****************************************************************************/
+#ifdef MODULE_NAME_IS_xvideo
+void E_(XVDeactivate) ( vlc_object_t *p_this )
+#else
 void E_(Deactivate) ( vlc_object_t *p_this )
+#endif
 {
     vout_thread_t *p_vout = (vout_thread_t *)p_this;
 
