From owner-svn-ports-head@FreeBSD.ORG Mon Mar 16 17:57:00 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8268DFD; Mon, 16 Mar 2015 17:57:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 88C119BD; Mon, 16 Mar 2015 17:57:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2GHv0pv043879; Mon, 16 Mar 2015 17:57:00 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2GHv0E3043869; Mon, 16 Mar 2015 17:57:00 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201503161757.t2GHv0E3043869@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Mon, 16 Mar 2015 17:57:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381429 - in head/emulators/virtualbox-ose: . 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-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2015 17:57:00 -0000 Author: jkim Date: Mon Mar 16 17:56:59 2015 New Revision: 381429 URL: https://svnweb.freebsd.org/changeset/ports/381429 QAT: https://qat.redports.org/buildarchive/r381429/ Log: Fix the fix. My patch was actually wrong and upstream properly fixed it. Pointy hat to: jkim Modified: head/emulators/virtualbox-ose/Makefile head/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Input-PS2M.cpp Modified: head/emulators/virtualbox-ose/Makefile ============================================================================== --- head/emulators/virtualbox-ose/Makefile Mon Mar 16 17:02:12 2015 (r381428) +++ head/emulators/virtualbox-ose/Makefile Mon Mar 16 17:56:59 2015 (r381429) @@ -3,7 +3,7 @@ PORTNAME= virtualbox-ose DISTVERSION= 4.3.24 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= emulators MASTER_SITES= http://download.virtualbox.org/virtualbox/${DISTVERSION}/ \ http://tmp.chruetertee.ch/ \ Modified: head/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Input-PS2M.cpp ============================================================================== --- head/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Input-PS2M.cpp Mon Mar 16 17:02:12 2015 (r381428) +++ head/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Input-PS2M.cpp Mon Mar 16 17:56:59 2015 (r381429) @@ -1,13 +1,11 @@ --- src/VBox/Devices/Input/PS2M.cpp.orig 2015-03-02 10:09:15.000000000 -0500 -+++ src/VBox/Devices/Input/PS2M.cpp 2015-03-12 18:44:38.787177000 -0400 -@@ -712,8 +712,8 @@ - int8_t dX, dY, dZ; ++++ src/VBox/Devices/Input/PS2M.cpp 2015-03-16 13:38:03.324517000 -0400 +@@ -709,7 +709,7 @@ + static void ps2mReportAccumulatedEvents(PPS2M pThis) + { + uint8_t val; +- int8_t dX, dY, dZ; ++ int dX, dY, dZ; /* Clamp the accumulated delta values to the allowed range. */ -- dX = RT_MIN(RT_MAX(pThis->iAccumX, -256), 255); -- dY = RT_MIN(RT_MAX(pThis->iAccumY, -256), 255); -+ dX = RT_MIN(RT_MAX(pThis->iAccumX, -128), 127); -+ dY = RT_MIN(RT_MAX(pThis->iAccumY, -128), 127); - dZ = RT_MIN(RT_MAX(pThis->iAccumZ, -8), 7); - - /* Start with the sync bit and buttons 1-3. */ + dX = RT_MIN(RT_MAX(pThis->iAccumX, -256), 255);