summaryrefslogblamecommitdiffstats
path: root/x11-servers/xorg-server/files/extra-arch-powerpc
blob: 6fa917849749840df3b1e4d956bf6449515f6e6e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                   
--- 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;
         }
 }