From owner-svn-ports-all@freebsd.org Fri Jan 13 23:36:26 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33472CAE2EF; Fri, 13 Jan 2017 23:36:26 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 050F01DAA; Fri, 13 Jan 2017 23:36:25 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0DNaPLP030016; Fri, 13 Jan 2017 23:36:25 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0DNaPJm030014; Fri, 13 Jan 2017 23:36:25 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201701132336.v0DNaPJm030014@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Fri, 13 Jan 2017 23:36:25 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2017 23:36:26 -0000 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);