diff options
author | kwm <kwm@FreeBSD.org> | 2014-05-30 03:32:08 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2014-05-30 03:32:08 +0800 |
commit | b63ab5c02f0a6b353dd774c0430fdd38f1f200d3 (patch) | |
tree | 61e86a48fc419a6aba9b078c954a99e5afd93e3d /x11-drivers | |
parent | 23c9dc3843b31f483df5956486e2906f4325eee9 (diff) | |
download | freebsd-ports-gnome-b63ab5c02f0a6b353dd774c0430fdd38f1f200d3.tar.gz freebsd-ports-gnome-b63ab5c02f0a6b353dd774c0430fdd38f1f200d3.tar.zst freebsd-ports-gnome-b63ab5c02f0a6b353dd774c0430fdd38f1f200d3.zip |
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@
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/xf86-video-ati/Makefile | 3 | ||||
-rw-r--r-- | x11-drivers/xf86-video-nv/files/patch-src-nv_driver.c | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/x11-drivers/xf86-video-ati/Makefile b/x11-drivers/xf86-video-ati/Makefile index 6bf515860539..017beb636ae6 100644 --- a/x11-drivers/xf86-video-ati/Makefile +++ b/x11-drivers/xf86-video-ati/Makefile @@ -14,7 +14,8 @@ USE_XORG= xf86driproto xineramaproto xf86miscproto glproto .include <bsd.port.options.mk> -.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 diff --git a/x11-drivers/xf86-video-nv/files/patch-src-nv_driver.c b/x11-drivers/xf86-video-nv/files/patch-src-nv_driver.c new file mode 100644 index 000000000000..26e3d4a08f08 --- /dev/null +++ b/x11-drivers/xf86-video-nv/files/patch-src-nv_driver.c @@ -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; |