Date: Fri, 13 Jan 2017 23:36:25 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431443 - in head/x11-drivers/xf86-video-openchrome: . files Message-ID: <201701132336.v0DNaPJm030014@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Jan 13 23:36:24 2017 New Revision: 431443 URL: https://svnweb.freebsd.org/changeset/ports/431443 Log: Add a patch to fix an unitialized variable While here add license PR: 214589 Submitted by: matthew@reztek.cz Added: head/x11-drivers/xf86-video-openchrome/files/patch-src__via_driver.c (contents, props changed) Modified: head/x11-drivers/xf86-video-openchrome/Makefile Modified: head/x11-drivers/xf86-video-openchrome/Makefile ============================================================================== --- head/x11-drivers/xf86-video-openchrome/Makefile Fri Jan 13 23:29:58 2017 (r431442) +++ head/x11-drivers/xf86-video-openchrome/Makefile Fri Jan 13 23:36:24 2017 (r431443) @@ -8,6 +8,9 @@ CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org openChrome display driver +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + USE_GL= gl XORG_CAT= driver Added: head/x11-drivers/xf86-video-openchrome/files/patch-src__via_driver.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-drivers/xf86-video-openchrome/files/patch-src__via_driver.c Fri Jan 13 23:36:24 2017 (r431443) @@ -0,0 +1,11 @@ +--- src/via_driver.c.orig 2015-11-19 15:49:03.658837000 +0100 ++++ src/via_driver.c 2015-11-19 15:51:11.689034000 +0100 +@@ -806,7 +806,7 @@ via_xf86crtc_resize(ScrnInfoPtr scrn, in + { + xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); + struct buffer_object *old_front = NULL, *new_front = NULL; +- int old_width, old_height, old_dwidth, format; ++ int old_width = 0, old_height = 0, old_dwidth = 0, format; + int cpp = (scrn->bitsPerPixel + 7) >> 3, i; + ScreenPtr screen = scrn->pScreen; + VIAPtr pVia = VIAPTR(scrn);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701132336.v0DNaPJm030014>