When building the XFree86-4.6.0 mga_hal driver module I had to apply the
attached patch correcting a bad function prototype.

regards
Peter Breitenlohner <[EMAIL PROTECTED]>
        Fix prototype

diff -ur -N XF86-4.6.0/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_halmod.c 
XF86-4.6.0/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_halmod.c
--- XF86-4.6.0.orig/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_halmod.c     
2000-12-06 16:35:21.000000000 +0100
+++ XF86-4.6.0/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_halmod.c  
2006-06-05 12:35:50.000000000 +0200
@@ -30,7 +30,7 @@
 XF86ModuleData mga_halModuleData = { &halVersRec, halSetup, NULL };
 
 static pointer
-halSetup(pointer module, pointer opts, int *errmaj, int *errmin)
+halSetup(ModuleDescPtr module, pointer opts, int *errmaj, int *errmin)
 {
        return (pointer)1;
 }

Reply via email to