ports/x11-drivers/xf86-video-sis/files/patch-src_sis__driver.c
Niclas Zeising 6b1bf6ebc3 x11-drivers/xf86-video-sis: Update to 0.11.0
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
2019-08-18 14:45:06 +00:00

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;