svn commit: r431443 - in head/x11-drivers/xf86-video-openchrome: . files
Baptiste Daroussin
bapt at FreeBSD.org
Fri Jan 13 23:36:26 UTC 2017
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 at 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 at 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);
More information about the svn-ports-head
mailing list