7150315 matrox sparc ddx: 8/16 bit X server does not exit correctly
authorhenryzh <henry.zhao@oracle.com>
Tue, 06 Mar 2012 16:42:24 -0800
changeset 1250 4dfdf9474e61
parent 1249 4df10fd54e30
child 1251 46b41622af46
7150315 matrox sparc ddx: 8/16 bit X server does not exit correctly
open-src/driver/xf86-video-mga/7150315.patch
open-src/driver/xf86-video-mga/Makefile
open-src/lib/libpciaccess/Makefile
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/driver/xf86-video-mga/7150315.patch	Tue Mar 06 16:42:24 2012 -0800
@@ -0,0 +1,11 @@
+--- src/mga_driver.c	Mon Feb 20 13:01:10 2012
++++ src/mga_driver.c	Thu Mar  1 18:02:42 2012
+@@ -4437,6 +4437,8 @@
+ 	xfree(pMga->ScratchBuffer);
+ 
+ #ifdef __sparc__
++    MGANotifyModeChanged(pScrn);
++
+     if (pMga->fd)
+ 	close(pMga->fd);
+ #endif
--- a/open-src/driver/xf86-video-mga/Makefile	Thu Mar 01 19:22:00 2012 -0800
+++ b/open-src/driver/xf86-video-mga/Makefile	Tue Mar 06 16:42:24 2012 -0800
@@ -39,9 +39,10 @@
 SOURCE_PATCHES = no-hal.patch \
 		7027761.patch,-p1 \
 		g200se_pilot3_memory_bandwidth.patch \
+		g200se_pilot3_offscreen.patch \
+		sparc.patch \
 		g200se_pilot3_memory_sizing.patch \
-		g200se_pilot3_offscreen.patch \
-		sparc.patch
+		7150315.patch
 
 # Man pages to apply Sun footer to & attributes to list
 SUNTOUCHED_MANPAGES=man/*.man
--- a/open-src/lib/libpciaccess/Makefile	Thu Mar 01 19:22:00 2012 -0800
+++ b/open-src/lib/libpciaccess/Makefile	Tue Mar 06 16:42:24 2012 -0800
@@ -41,11 +41,15 @@
 	solx_devfs.c.patch \
 	solx_devfs.c.domain.patch \
 	scanpci_64bit.patch \
-	sparc.patch
+	sparc.patch \
+	sparc_rom_read.patch
 
 # Library name
 LIBNAME=libpciaccess
 
+# Need to do autoreconf
+AUTORECONF=yes
+
 # Where to install libpciaccess files
 MODULE_PREFIX=/usr
 MODULE_PREFIX_SET=yes