freebsd-ports/x11-servers/xorg-server/files/extra-old-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
438 B
Text

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