Update x11-drivers/xf86-video-sis to 0.11.0 Remove dependency on mesa and libGL, it is not used Add license information This is a maintenance release This has not been tested with actual hardware. Changelog: https://lists.x.org/archives/xorg-announce/2019-July/003016.html Obtained from: FreeBSD Graphics Team development repo https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorglibs
15 lines
489 B
C
15 lines
489 B
C
# Correct a string that should be const
|
|
# Cast away a warning filling a const string
|
|
#
|
|
--- src/sis_driver.c.orig 2017-01-17 22:45:12 UTC
|
|
+++ src/sis_driver.c
|
|
@@ -6065,7 +6065,7 @@ SISPreInit(ScrnInfoPtr pScrn, int flags)
|
|
free(newm);
|
|
break;
|
|
}
|
|
- strcpy(newm->name, tempm->name);
|
|
+ strcpy((char *)newm->name, tempm->name);
|
|
if(!pSiS->CRT2pScrn->monitor->Modes) pSiS->CRT2pScrn->monitor->Modes = newm;
|
|
if(currentm) {
|
|
currentm->next = newm;
|