tags 121459 patch thanks Fixing the source was actually pretty easy, but it took me quite a while due to needing to fight the horrible build system from upstream.
The problem is that a couple of the drivers #include sys/io.h, which doesn't exist on ppc. As far as I can tell, scr_fb.c doesn't actually need to include it. I've tested this patch (should work fine in the patches directory) on both i386 and ppc: --- microwin/src/drivers/scr_fb.c.dist Sat Jan 5 15:32:03 2002 +++ microwin/src/drivers/scr_fb.c Sat Jan 5 15:32:57 2002 @@ -17,7 +17,6 @@ #include <stdarg.h> #include <stdio.h> #include <stdlib.h> -#include <sys/io.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/stat.h> But vgaplan4.c also includes that file (via vgaplan4.h) and appears to need it. I got around this by modifying debian/config.fb so that it won't build that part: --- config.fb.dist Sat Jan 5 15:40:15 2002 +++ config.fb Sat Jan 5 14:18:30 2002 @@ -204,7 +204,7 @@ # framebuffer screen driver (linear and/or vga 4 planes) # set VTSWITCH to include virtual terminal switch code FRAMEBUFFER = Y -FBVGA = Y +FBVGA = N VTSWITCH = Y PORTRAIT_MODE = N Again, I tested this on both x86 and ppc. It seems to work, at least on the systems I checked. -- Aaron Schrab [EMAIL PROTECTED] http://www.execpc.com/~aarons/ I dunno, I dream in Perl sometimes... --Larry Wall