Date: Mon, 16 Mar 2015 17:57:00 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> 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 Message-ID: <201503161757.t2GHv0E3043869@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503161757.t2GHv0E3043869>