--- hw/xfree86/os-support/bsd/ppc_video.c.orig	2008-01-02 12:29:21.000000000 +0000
+++ hw/xfree86/os-support/bsd/ppc_video.c	2008-01-02 12:29:00.000000000 +0000
@@ -164,7 +164,11 @@
 
         if (ioBase != MAP_FAILED)
         {
+#if defined(__FreeBSD__)
+		munmap(__DEVOLATILE(unsigned char *, ioBase), 0x10000);
+#else
                 munmap(__UNVOLATILE(ioBase), 0x10000);
+#endif
                 ioBase = MAP_FAILED;
         }
 }
