Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 17:19:24 +0900
From:      Tod McQuillin <devin@spamcop.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        x11@FreeBSD.org
Subject:   [PATCH] x11-servers/mga_hal: also install mga_drv.o
Message-ID:  <E1DaUdI-000O1T-7F@mail.distalzou.net>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Tod McQuillin
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] x11-servers/mga_hal: also install mga_drv.o
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 4.11-STABLE i386
>Environment:
System: FreeBSD plexi.pun-pun.prv 4.11-STABLE FreeBSD 4.11-STABLE #0: Sat May 21 11:14:44 JST 2005
>Description:
In addition to mga_hal_drv.o, the supplied mga_drv.o is also required
for proper operation, at least for the Matrox G550 running in dual
DVI mode.  Without the supploed mga_drv.o the server fails to initialise
the G550 properly and generates the DVI signal at an incorrect
frequency.

Port maintainer (x11@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- mga_hal-4.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /usr/src/cvs-repo/ports/x11-servers/mga_hal/Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile
--- Makefile	13 Jan 2005 01:11:53 -0000	1.1
+++ Makefile	24 May 2005 08:14:44 -0000
@@ -17,7 +17,7 @@
 NO_PACKAGE=	"Matrox drivers may not be distributed"
 RESTRICTED=	"Matrox drivers may not be distributed."
 
-ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS=	i386
 
 PREFIX?=	${X11BASE}
 WRKSRC=		${WRKDIR}/mgadriver-${PORTVERSION}
@@ -30,5 +30,7 @@
 .endif
 	${INSTALL_DATA} ${WRKSRC}/xfree86/6.8.1/mga_hal_drv.o \
 		${PREFIX}/lib/modules/drivers/
+	${INSTALL_DATA} ${WRKSRC}/xfree86/6.8.1/mga_drv.o \
+		${PREFIX}/lib/modules/drivers/
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /usr/src/cvs-repo/ports/x11-servers/mga_hal/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist	13 Jan 2005 01:11:54 -0000	1.1
+++ pkg-plist	24 May 2005 08:14:02 -0000
@@ -1,3 +1,4 @@
 %%PORTDOCS%%%%DOCSDIR%%/readme.txt
 lib/modules/drivers/mga_hal_drv.o
+lib/modules/drivers/mga_drv.o
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
--- mga_hal-4.1.patch ends here ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DaUdI-000O1T-7F>