Date: Wed, 19 Dec 2007 06:07:47 GMT From: Peter Grehan <grehan@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/118851: [PATCH] xorg-server/powerpc: bsd/ppc_video.c fix Message-ID: <200712190607.lBJ67lRT001844@www.freebsd.org> Resent-Message-ID: <200712190610.lBJ6A3Yw032855@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 118851 >Category: ports >Synopsis: [PATCH] xorg-server/powerpc: bsd/ppc_video.c fix >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Dec 19 06:10:02 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Peter Grehan >Release: 7.0-BETA4 >Organization: >Environment: FreeBSD pbook.hq.netapp.com 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Tue Dec 4 09:37:43 UTC 2007 root@marcel-osx.englab.juniper.net:/usr/obj/usr/src/sys/GENERIC powerpc xorg-server 1.4_3,1 >Description: hw/xfree86/os-support/bsd/ppc_video.c needs FreeBSD conditional compilation. Patch attached. >How-To-Repeat: >Fix: Patch attached with submission follows: --- hw/xfree86/os-support/bsd/ppc_video.c.orig 2007-08-23 19:04:53.000000000 +0000 +++ hw/xfree86/os-support/bsd/ppc_video.c 2007-12-18 07:19:33.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; } } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712190607.lBJ67lRT001844>