From owner-freebsd-x11@FreeBSD.ORG Thu May 29 19:40:02 2014 Return-Path: Delivered-To: freebsd-x11@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 56E94BFD for ; Thu, 29 May 2014 19:40:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33E8F2FA4 for ; Thu, 29 May 2014 19:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4TJe2nj022636 for ; Thu, 29 May 2014 19:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4TJe2Zm022635; Thu, 29 May 2014 19:40:02 GMT (envelope-from gnats) Date: Thu, 29 May 2014 19:40:02 GMT Message-Id: <201405291940.s4TJe2Zm022635@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/188278: commit references a PR Reply-To: dfilter@FreeBSD.ORG (dfilter service) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2014 19:40:02 -0000 The following reply was made to PR ports/188278; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/188278: commit references a PR Date: Thu, 29 May 2014 19:32:14 +0000 (UTC) Author: kwm Date: Thu May 29 19:32:08 2014 New Revision: 355734 URL: http://svnweb.freebsd.org/changeset/ports/355734 QAT: https://qat.redports.org/buildarchive/r355734/ Log: x11-drivers/xf86-video-ati: On other ARCH then i386/amd64 keep the old version. Since 7.x is KMS which is not available on the other ARCHS. x11-drivers/xf86-video-nv: Fix nv driver on ppc. x11-servers/xorg-server: In the powerpc case of NEW_XORG don't overwrite EXTRA_PATCHES. Patch update: < nathanw> it works around the change in behavior in libpciaccess that the PR mentions < nathanw> by porting the relevant code from the Linux backend PR: ports/188278 Submitted by: jmmv@, nwhitehorn@ Added: head/x11-drivers/xf86-video-nv/files/ head/x11-drivers/xf86-video-nv/files/patch-src-nv_driver.c (contents, props changed) Modified: head/x11-drivers/xf86-video-ati/Makefile head/x11-servers/xorg-server/Makefile head/x11-servers/xorg-server/files/extra-new-arch-powerpc Modified: head/x11-drivers/xf86-video-ati/Makefile ============================================================================== --- head/x11-drivers/xf86-video-ati/Makefile Thu May 29 19:29:18 2014 (r355733) +++ head/x11-drivers/xf86-video-ati/Makefile Thu May 29 19:32:08 2014 (r355734) @@ -14,7 +14,8 @@ USE_XORG= xf86driproto xineramaproto xf8 .include -.if ${OSVERSION} < 1000051 || !defined(WITH_NEW_XORG) +.if ${OSVERSION} < 1000051 || !defined(WITH_NEW_XORG) || \ + (${ARCH} != i386 && ${ARCH} != amd64) ATI_VERSION= 6.14.6 ATI_REVISION= 3 CONFIGURE_ARGS+=--disable-kms Added: head/x11-drivers/xf86-video-nv/files/patch-src-nv_driver.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-drivers/xf86-video-nv/files/patch-src-nv_driver.c Thu May 29 19:32:08 2014 (r355734) @@ -0,0 +1,14 @@ +--- src/nv_driver.c.orig 2014-01-19 15:24:45.000000000 -0600 ++++ src/nv_driver.c 2014-01-19 15:24:07.000000000 -0600 +@@ -1543,7 +1543,11 @@ + xf86FreeInt10(pNv->pInt); + return FALSE; + } ++#ifdef __powerpc__ /* XXX probably MI */ ++ vgaHWSetMmioFuncs(VGAHWPTR(pScrn), pNv->IOAddress, 0); ++#else + vgaHWSetStdFuncs(VGAHWPTR(pScrn)); ++#endif + + /* We use a programmable clock */ + pScrn->progClock = TRUE; Modified: head/x11-servers/xorg-server/Makefile ============================================================================== --- head/x11-servers/xorg-server/Makefile Thu May 29 19:29:18 2014 (r355733) +++ head/x11-servers/xorg-server/Makefile Thu May 29 19:32:08 2014 (r355734) @@ -124,7 +124,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-old-ar .if ${ARCH} == ia64 PLIST_SUB+= IA64_NA="@comment " -EXTRA_PATCHES= ${.CURDIR}/files/extra-arch-ia64 +EXTRA_PATCHES+= ${.CURDIR}/files/extra-arch-ia64 .else PLIST_SUB+= IA64_NA="" .endif @@ -132,9 +132,9 @@ PLIST_SUB+= IA64_NA="" .if ${ARCH} == powerpc || ${ARCH} == powerpc64 PLIST_SUB+= PPC_NA="@comment " .if defined(WITH_NEW_XORG) -EXTRA_PATCHES= ${.CURDIR}/files/extra-new-arch-powerpc +EXTRA_PATCHES+= ${.CURDIR}/files/extra-new-arch-powerpc .else -EXTRA_PATCHES= ${.CURDIR}/files/extra-old-arch-powerpc +EXTRA_PATCHES+= ${.CURDIR}/files/extra-old-arch-powerpc .endif .else PLIST_SUB+= PPC_NA="" Modified: head/x11-servers/xorg-server/files/extra-new-arch-powerpc ============================================================================== --- head/x11-servers/xorg-server/files/extra-new-arch-powerpc Thu May 29 19:29:18 2014 (r355733) +++ head/x11-servers/xorg-server/files/extra-new-arch-powerpc Thu May 29 19:32:08 2014 (r355734) @@ -1,6 +1,27 @@ ---- 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 @@ +--- ./hw/xfree86/os-support/bsd/ppc_video.c.orig 2012-05-17 12:09:03.000000000 -0500 ++++ ./hw/xfree86/os-support/bsd/ppc_video.c 2014-01-18 14:36:42.000000000 -0600 +@@ -115,17 +115,19 @@ + Bool + xf86EnableIO() + { +- int fd = xf86Info.consoleFd; ++ int fd = open(DEV_MEM, O_RDWR); + + xf86MsgVerb(X_WARNING, 3, "xf86EnableIO %d\n", fd); + if (ioBase == MAP_FAILED) { + ioBase = mmap(NULL, 0x10000, PROT_READ | PROT_WRITE, MAP_SHARED, fd, + 0xf2000000); + xf86MsgVerb(X_INFO, 3, "xf86EnableIO: %08x\n", ioBase); ++#if 0 /* Non-fatal */ + if (ioBase == MAP_FAILED) { + xf86MsgVerb(X_WARNING, 3, "Can't map IO space!\n"); + return FALSE; + } ++#endif + } + return TRUE; + } +@@ -135,7 +137,11 @@ { if (ioBase != MAP_FAILED) { _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"