[Midnightbsd-cvs] mports [17097] trunk/x11-drivers/xf86-video-nv: add nv patch from freebsd

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Sep 13 23:37:00 EDT 2014


Revision: 17097
          http://svnweb.midnightbsd.org/mports/?rev=17097
Author:   laffer1
Date:     2014-09-13 23:36:58 -0400 (Sat, 13 Sep 2014)
Log Message:
-----------
add nv patch from freebsd

Modified Paths:
--------------
    trunk/x11-drivers/xf86-video-nv/Makefile
    trunk/x11-drivers/xf86-video-nv/pkg-plist

Added Paths:
-----------
    trunk/x11-drivers/xf86-video-nv/files/
    trunk/x11-drivers/xf86-video-nv/files/patch-src-nv_driver.c

Modified: trunk/x11-drivers/xf86-video-nv/Makefile
===================================================================
--- trunk/x11-drivers/xf86-video-nv/Makefile	2014-09-14 03:35:48 UTC (rev 17096)
+++ trunk/x11-drivers/xf86-video-nv/Makefile	2014-09-14 03:36:58 UTC (rev 17097)
@@ -2,6 +2,7 @@
 
 PORTNAME=	xf86-video-nv
 PORTVERSION=	2.1.20
+PORTREVISION=	1
 CATEGORIES=	x11-drivers
 
 MAINTAINER=	ports at MidnightBSD.org
@@ -11,6 +12,5 @@
 
 XORG_CAT=	driver
 USE_XORG=	videoproto xextproto
-MAN4=		nv.4x
 
 .include <bsd.port.mk>

Added: trunk/x11-drivers/xf86-video-nv/files/patch-src-nv_driver.c
===================================================================
--- trunk/x11-drivers/xf86-video-nv/files/patch-src-nv_driver.c	                        (rev 0)
+++ trunk/x11-drivers/xf86-video-nv/files/patch-src-nv_driver.c	2014-09-14 03:36:58 UTC (rev 17097)
@@ -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: trunk/x11-drivers/xf86-video-nv/pkg-plist
===================================================================
--- trunk/x11-drivers/xf86-video-nv/pkg-plist	2014-09-14 03:35:48 UTC (rev 17096)
+++ trunk/x11-drivers/xf86-video-nv/pkg-plist	2014-09-14 03:36:58 UTC (rev 17097)
@@ -1,5 +1,5 @@
-lib/xorg/modules/drivers/nv_drv.la
 lib/xorg/modules/drivers/nv_drv.so
+man/man4/nv.4x.gz
 @dirrmtry lib/xorg/modules/drivers
 @dirrmtry lib/xorg/modules
 @dirrmtry lib/xorg



More information about the Midnightbsd-cvs mailing list