diff options
author | bapt <bapt@FreeBSD.org> | 2017-01-23 08:49:05 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2017-01-23 08:49:05 +0800 |
commit | 5d7ab68caa29c9e216fab5095946a80a71a741fb (patch) | |
tree | 597f6a5250414fa11ebc4e407c5b8994bbd6a92d /x11-drivers | |
parent | 8fd5e1eeae64180ed2fcb753cc7ef5eba698acad (diff) | |
download | freebsd-ports-gnome-5d7ab68caa29c9e216fab5095946a80a71a741fb.tar.gz freebsd-ports-gnome-5d7ab68caa29c9e216fab5095946a80a71a741fb.tar.zst freebsd-ports-gnome-5d7ab68caa29c9e216fab5095946a80a71a741fb.zip |
Update to 0.10.9
PR: 216294
Submitted by: matthew@reztek.cz
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/xf86-video-sis/Makefile | 6 | ||||
-rw-r--r-- | x11-drivers/xf86-video-sis/distinfo | 5 | ||||
-rw-r--r-- | x11-drivers/xf86-video-sis/files/patch-src_init301.c | 18 | ||||
-rw-r--r-- | x11-drivers/xf86-video-sis/files/patch-src_initextx.c | 35 | ||||
-rw-r--r-- | x11-drivers/xf86-video-sis/files/patch-src_sis300__accel.c | 85 | ||||
-rw-r--r-- | x11-drivers/xf86-video-sis/files/patch-src_sis__dri.c | 13 | ||||
-rw-r--r-- | x11-drivers/xf86-video-sis/files/patch-src_sis__driver.c | 34 | ||||
-rw-r--r-- | x11-drivers/xf86-video-sis/files/patch-src_sis__utility.c | 13 |
8 files changed, 190 insertions, 19 deletions
diff --git a/x11-drivers/xf86-video-sis/Makefile b/x11-drivers/xf86-video-sis/Makefile index 60e1c9bebc11..9082aa7d4e48 100644 --- a/x11-drivers/xf86-video-sis/Makefile +++ b/x11-drivers/xf86-video-sis/Makefile @@ -1,17 +1,15 @@ # $FreeBSD$ PORTNAME= xf86-video-sis -PORTVERSION= 0.10.8 +PORTVERSION= 0.10.9 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org sis display driver -CONFLICTS= xf86-video-sis-intel-[0-9]* - USE_GL= gl XORG_CAT= driver -USE_XORG= xf86dgaproto xf86driproto xineramaproto xf86miscproto glproto +USE_XORG= xf86dgaproto .include <bsd.port.mk> diff --git a/x11-drivers/xf86-video-sis/distinfo b/x11-drivers/xf86-video-sis/distinfo index a3f0744fe587..8fbcfe32bbbd 100644 --- a/x11-drivers/xf86-video-sis/distinfo +++ b/x11-drivers/xf86-video-sis/distinfo @@ -1,2 +1,3 @@ -SHA256 (xorg/driver/xf86-video-sis-0.10.8.tar.bz2) = c8f3f2577f69334dfcc4bf96477dce45161170555f3abdfa105599e61bc7d3fe -SIZE (xorg/driver/xf86-video-sis-0.10.8.tar.bz2) = 734785 +TIMESTAMP = 1484715280 +SHA256 (xorg/driver/xf86-video-sis-0.10.9.tar.bz2) = 5226b7407c601afa32d6cbf155f9182da95d92cdc89c1f83471e1927e552c10d +SIZE (xorg/driver/xf86-video-sis-0.10.9.tar.bz2) = 736272 diff --git a/x11-drivers/xf86-video-sis/files/patch-src_init301.c b/x11-drivers/xf86-video-sis/files/patch-src_init301.c index a0f65ade71cd..1bb38e93e8f2 100644 --- a/x11-drivers/xf86-video-sis/files/patch-src_init301.c +++ b/x11-drivers/xf86-video-sis/files/patch-src_init301.c @@ -1,5 +1,8 @@ ---- src/init301.c.orig 2015-11-19 15:53:05.412011000 +0100 -+++ src/init301.c 2015-11-19 15:53:24.734403000 +0100 +# Fix an uninitialized variable +# Remove some dead code to eliminate a style warning +# +--- src/init301.c.orig 2010-03-07 19:36:10 UTC ++++ src/init301.c @@ -446,7 +446,7 @@ SiS_CR36BIOSWord23d(struct SiS_Private * void SiS_DDC2Delay(struct SiS_Private *SiS_Pr, unsigned int delaytime) @@ -9,3 +12,14 @@ for(i = 0; i < delaytime; i++) { j += SiS_GetReg(SiS_Pr->SiS_P3c4,0x05); +@@ -534,9 +534,7 @@ SiS_PanelDelay(struct SiS_Private *SiS_P + SiS_DDC2Delay(SiS_Pr, 0x4000); + } + +- } else if((SiS_Pr->SiS_IF_DEF_LVDS == 1) /* || +- (SiS_Pr->SiS_CustomT == CUT_COMPAQ1280) || +- (SiS_Pr->SiS_CustomT == CUT_CLEVO1400) */ ) { /* 315 series, LVDS; Special */ ++ } else if(SiS_Pr->SiS_IF_DEF_LVDS == 1) { /* 315 series, LVDS; Special */ + + if(SiS_Pr->SiS_IF_DEF_CH70xx == 0) { + PanelID = SiS_GetReg(SiS_Pr->SiS_P3d4,0x36); diff --git a/x11-drivers/xf86-video-sis/files/patch-src_initextx.c b/x11-drivers/xf86-video-sis/files/patch-src_initextx.c new file mode 100644 index 000000000000..24028baf3f01 --- /dev/null +++ b/x11-drivers/xf86-video-sis/files/patch-src_initextx.c @@ -0,0 +1,35 @@ +# Cast away warnings filling const strings +# +--- src/initextx.c.orig 2015-08-29 23:34:25 UTC ++++ src/initextx.c +@@ -252,8 +252,8 @@ SiSBuildBuiltInModeList(ScrnInfoPtr pScr + + current = new; + +- sprintf(current->name, "%dx%d", pSiS->SiS_Pr->SiS_RefIndex[i].XRes, +- pSiS->SiS_Pr->SiS_RefIndex[i].YRes); ++ sprintf((char *)current->name, "%dx%d", pSiS->SiS_Pr->SiS_RefIndex[i].XRes, ++ pSiS->SiS_Pr->SiS_RefIndex[i].YRes); + + current->status = MODE_OK; + +@@ -402,7 +402,7 @@ SiSBuildBuiltInModeList(ScrnInfoPtr pScr + + pSiS->AddedPlasmaModes = TRUE; + +- strcpy(current->name, SiS_PlasmaMode[l].name); ++ strcpy((char *)current->name, SiS_PlasmaMode[l].name); + + current->status = MODE_OK; + +@@ -485,8 +485,8 @@ SiSBuildBuiltInModeList(ScrnInfoPtr pScr + + current = new; + +- sprintf(current->name, "%dx%d", pSiS->SiS_Pr->CP_HDisplay[i], +- pSiS->SiS_Pr->CP_VDisplay[i]); ++ sprintf((char *)current->name, "%dx%d", pSiS->SiS_Pr->CP_HDisplay[i], ++ pSiS->SiS_Pr->CP_VDisplay[i]); + + current->status = MODE_OK; + diff --git a/x11-drivers/xf86-video-sis/files/patch-src_sis300__accel.c b/x11-drivers/xf86-video-sis/files/patch-src_sis300__accel.c new file mode 100644 index 000000000000..2d84a6f5ffe5 --- /dev/null +++ b/x11-drivers/xf86-video-sis/files/patch-src_sis300__accel.c @@ -0,0 +1,85 @@ +# Fix warning about shift of signed value +# +--- src/sis300_accel.c.orig 2015-08-29 23:34:25 UTC ++++ src/sis300_accel.c +@@ -100,7 +100,7 @@ SiSSetupForScreenToScreenCopy(ScrnInfoPt + + SiSSetupDSTColorDepth(pSiS->DstColor); + SiSSetupSRCPitch(pSiS->scrnOffset) +- SiSSetupDSTRect(pSiS->scrnOffset, -1) ++ SiSSetupDSTRect(pSiS->scrnOffset, -1U) + + if(trans_color != -1) { + SiSSetupROP(0x0A) +@@ -170,7 +170,7 @@ SiSSetupForSolidFill(ScrnInfoPtr pScrn, + } + } + SiSSetupPATFG(color) +- SiSSetupDSTRect(pSiS->scrnOffset, -1) ++ SiSSetupDSTRect(pSiS->scrnOffset, -1U) + SiSSetupDSTColorDepth(pSiS->DstColor); + SiSSetupROP(SiSGetPatternROP(rop)) + /* SiSSetupCMDFlag(PATFG) - is zero */ +@@ -342,7 +342,7 @@ SiSSetupForSolidLine(ScrnInfoPtr pScrn, + + SiSSetupLineCount(1) + SiSSetupPATFG(color) +- SiSSetupDSTRect(pSiS->scrnOffset, -1) ++ SiSSetupDSTRect(pSiS->scrnOffset, -1U) + SiSSetupDSTColorDepth(pSiS->DstColor); + SiSSetupROP(SiSGetPatternROP(rop)) + SiSSetupCMDFlag(PATFG | LINE) +@@ -419,7 +419,7 @@ SiSSetupForDashedLine(ScrnInfoPtr pScrn, + SISPtr pSiS = SISPTR(pScrn); + + SiSSetupLineCount(1) +- SiSSetupDSTRect(pSiS->scrnOffset, -1) ++ SiSSetupDSTRect(pSiS->scrnOffset, -1U) + SiSSetupDSTColorDepth(pSiS->DstColor); + SiSSetupStyleLow(*pattern) + SiSSetupStyleHigh(*(pattern+4)) +@@ -475,7 +475,7 @@ SiSSetupForMonoPatternFill(ScrnInfoPtr p + { + SISPtr pSiS = SISPTR(pScrn); + +- SiSSetupDSTRect(pSiS->scrnOffset, -1) ++ SiSSetupDSTRect(pSiS->scrnOffset, -1U) + SiSSetupDSTColorDepth(pSiS->DstColor); + SiSSetupMONOPAT(patx,paty) + SiSSetupPATFG(fg) +@@ -593,7 +593,7 @@ SiSSetupForScreenToScreenColorExpand(Scr + SISPtr pSiS = SISPTR(pScrn); + + SiSSetupDSTColorDepth(pSiS->DstColor) +- SiSSetupDSTRect(pSiS->scrnOffset, -1) ++ SiSSetupDSTRect(pSiS->scrnOffset, -1U) + SiSSetupROP(SiSGetCopyROP(rop)) + SiSSetupSRCFG(fg) + /* SiSSetupSRCXY(0,0) */ +@@ -762,7 +762,7 @@ SiSSetupForScanlineCPUToScreenColorExpan + SiSSetupSRCXY(0,0); + SiSSetupROP(SiSGetCopyROP(rop)); + SiSSetupSRCFG(fg); +- SiSSetupDSTRect(pSiS->scrnOffset, -1); ++ SiSSetupDSTRect(pSiS->scrnOffset, -1U); + SiSSetupDSTColorDepth(pSiS->DstColor); + if(bg == -1) { + SiSSetupCMDFlag(TRANSPARENT | +@@ -925,7 +925,7 @@ SiSPrepareSolid(PixmapPtr pPixmap, int a + dstbase = (CARD32)exaGetPixmapOffset(pPixmap) + HEADOFFSET; + + SiSSetupPATFG(fg) +- SiSSetupDSTRect(exaGetPixmapPitch(pPixmap), -1) ++ SiSSetupDSTRect(exaGetPixmapPitch(pPixmap), -1U) + SiSSetupDSTColorDepth(dstcol[pPixmap->drawable.bitsPerPixel >> 4]); + SiSSetupROP(SiSGetPatternROP(alu)) + SiSSetupDSTBase(dstbase) +@@ -988,7 +988,7 @@ SiSPrepareCopy(PixmapPtr pSrcPixmap, Pix + + SiSSetupDSTColorDepth(dstcol[pDstPixmap->drawable.bitsPerPixel >> 4]); + SiSSetupSRCPitch(exaGetPixmapPitch(pSrcPixmap)) +- SiSSetupDSTRect(exaGetPixmapPitch(pDstPixmap), -1) ++ SiSSetupDSTRect(exaGetPixmapPitch(pDstPixmap), -1U) + + SiSSetupROP(SiSGetCopyROP(alu)) + diff --git a/x11-drivers/xf86-video-sis/files/patch-src_sis__dri.c b/x11-drivers/xf86-video-sis/files/patch-src_sis__dri.c new file mode 100644 index 000000000000..553d6db6dffc --- /dev/null +++ b/x11-drivers/xf86-video-sis/files/patch-src_sis__dri.c @@ -0,0 +1,13 @@ +# Correct type in a format string +# +--- src/sis_dri.c.orig 2015-08-29 23:34:25 UTC ++++ src/sis_dri.c +@@ -454,7 +454,7 @@ SISDRIScreenInit(ScreenPtr pScreen) + return FALSE; + } + +- xf86DrvMsg(pScreen->myNum, X_INFO, "[drm] MMIO registers mapped to 0x%0x\n", ++ xf86DrvMsg(pScreen->myNum, X_INFO, "[drm] MMIO registers mapped to 0x%0lx\n", + pSISDRI->regs.handle); + + /* AGP */ diff --git a/x11-drivers/xf86-video-sis/files/patch-src_sis__driver.c b/x11-drivers/xf86-video-sis/files/patch-src_sis__driver.c index df6ac872fab4..68990d2c4305 100644 --- a/x11-drivers/xf86-video-sis/files/patch-src_sis__driver.c +++ b/x11-drivers/xf86-video-sis/files/patch-src_sis__driver.c @@ -1,11 +1,23 @@ ---- src/sis_driver.c.orig 2015-09-23 09:54:07.196489000 +0200 -+++ src/sis_driver.c 2015-09-23 09:56:45.740035000 +0200 -@@ -9390,7 +9390,7 @@ SISMergedPointerMoved(SCRN_ARG_TYPE arg, - #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 15 - { - double dx = x, dy = y; -- miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy); -+ miPointerSetPosition(inputInfo.pointer, Absolute, &dx, &dy, NULL, NULL); - x = (int)dx; - y = (int)dy; - } +# 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 +@@ -1305,7 +1305,7 @@ SiSCopyModeNLink(ScrnInfoPtr pScrn, Disp + * (Code base taken from mga driver) + */ + static DisplayModePtr +-SiSGetModeFromName(char* str, DisplayModePtr i) ++SiSGetModeFromName(const char* str, DisplayModePtr i) + { + DisplayModePtr c = i; + if(!i) return NULL; +@@ -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; diff --git a/x11-drivers/xf86-video-sis/files/patch-src_sis__utility.c b/x11-drivers/xf86-video-sis/files/patch-src_sis__utility.c new file mode 100644 index 000000000000..2abc943a366a --- /dev/null +++ b/x11-drivers/xf86-video-sis/files/patch-src_sis__utility.c @@ -0,0 +1,13 @@ +# Correct a string that should be const +# +--- src/sis_utility.c.orig 2015-08-29 23:34:25 UTC ++++ src/sis_utility.c +@@ -850,7 +850,7 @@ SISGetMergedModeDetails(ScrnInfoPtr pScr + ***********************************/ + + static void +-sisutil_prepare_string(xSiSCtrlCommandReply *sdcbuf, char *mystring) ++sisutil_prepare_string(xSiSCtrlCommandReply *sdcbuf, const char *mystring) + { + int slen = 0; + sdcbuf->sdc_buffer[0] = 0; |