freebsd-ports/x11-servers/xorg-server/files/extra-new-arch-powerpc
Niclas Zeising 5f84f960af Fix patching on powerpc with new xorg.
PR:		ports/179229
Submitted by:	jhibbits (PR), zeising (patch)
2013-06-14 14:39:18 +00:00

14 lines
414 B
Text

--- hw/xfree86/os-support/bsd/ppc_video.c.orig 2012-05-17 19:09:03.000000000 +0200
+++ hw/xfree86/os-support/bsd/ppc_video.c 2013-06-03 13:46:05.165578200 +0200
@@ -135,7 +135,11 @@
{
if (ioBase != MAP_FAILED) {
+#if defined(__FreeBSD__)
+ munmap(__DEVOLATILE(unsigned char *, ioBase), 0x10000);
+#else
munmap(__UNVOLATILE(ioBase), 0x10000);
+#endif
ioBase = MAP_FAILED;
}
}