ports/118851: [PATCH] xorg-server/powerpc: bsd/ppc_video.c fix

Peter Grehan grehan at FreeBSD.org
Wed Dec 19 06:10:03 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list