File xf86-video-s3virge.diff of Package xorg-x11-driver-video
--- src/s3v_driver.c.orig 2008-03-19 22:58:01.510230250 +0100
+++ src/s3v_driver.c 2008-03-19 23:00:49.216711250 +0100
@@ -1239,12 +1239,12 @@
* Toshiba Tecra 5x0/7x0 seems to use 28.636 MHz
* Compaq Armada 7x00 uses 14.318 MHz
*/
- if (find_bios_string(ps3v->PciTag, BIOS_BASE, "COMPAQ M5 BIOS", NULL) != NULL) {
+ if (find_bios_string((pointer) ps3v->PciTag, BIOS_BASE, "COMPAQ M5 BIOS", NULL) != NULL) {
if (xf86GetVerbosity())
xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "COMPAQ M5 BIOS found\n");
/* ps3v->refclk_fact = 1.0; */
}
- else if (find_bios_string(ps3v->PciTag, BIOS_BASE, "TOSHIBA Video BIOS", NULL) != NULL) {
+ else if (find_bios_string((pointer) ps3v->PciTag, BIOS_BASE, "TOSHIBA Video BIOS", NULL) != NULL) {
if (xf86GetVerbosity())
xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "TOSHIBA Video BIOS found\n");
/* ps3v->refclk_fact = 2.0; */