[xorg-x11-drv-vmmouse] vmmouse-12.9.0-unsafe-logging.patch: Stifle some unsafe logging on the

Adam Jackson ajax at fedoraproject.org
Mon Aug 20 19:12:34 UTC 2012


commit 2aed69a7e6814d4844ab9d64e959ecc30302d579
Author: Adam Jackson <ajax at redhat.com>
Date:   Mon Aug 20 15:12:31 2012 -0400

    vmmouse-12.9.0-unsafe-logging.patch: Stifle some unsafe logging on the
    
      read_input path.

 vmmouse-12.9.0-unsafe-logging.patch |   19 +++++++++++++++++++
 xorg-x11-drv-vmmouse.spec           |    8 +++++++-
 2 files changed, 26 insertions(+), 1 deletions(-)
---
diff --git a/vmmouse-12.9.0-unsafe-logging.patch b/vmmouse-12.9.0-unsafe-logging.patch
new file mode 100644
index 0000000..5bab11d
--- /dev/null
+++ b/vmmouse-12.9.0-unsafe-logging.patch
@@ -0,0 +1,19 @@
+diff -up xf86-input-vmmouse-12.9.0/src/vmmouse.c.jx xf86-input-vmmouse-12.9.0/src/vmmouse.c
+--- xf86-input-vmmouse-12.9.0/src/vmmouse.c.jx	2012-05-22 14:06:31.000000000 -0400
++++ xf86-input-vmmouse-12.9.0/src/vmmouse.c	2012-08-20 15:09:49.181917817 -0400
+@@ -1063,7 +1063,6 @@ VMMouseReadInput(InputInfoPtr pInfo)
+        */
+       VMMouseClient_RequestAbsolute();
+       mPriv->absoluteRequested = TRUE;
+-      xf86Msg(X_INFO, "VMWARE(0): vmmouse enable absolute mode\n");
+    }
+ 
+    /*
+@@ -1130,7 +1129,6 @@ GetVMMouseMotionEvent(InputInfoPtr pInfo
+          VMMouseClient_Disable();
+          VMMouseClient_Enable();
+          VMMouseClient_RequestAbsolute();
+-         xf86Msg(X_INFO, "VMWARE(0): re-requesting absolute mode after reset\n");
+          break;
+       }
+ 
diff --git a/xorg-x11-drv-vmmouse.spec b/xorg-x11-drv-vmmouse.spec
index 922803d..dee4d69 100644
--- a/xorg-x11-drv-vmmouse.spec
+++ b/xorg-x11-drv-vmmouse.spec
@@ -8,7 +8,7 @@
 Summary:    Xorg X11 vmmouse input driver
 Name:	    xorg-x11-drv-vmmouse
 Version:    12.9.0
-Release:    5%{?gitdate:.%{gitdate}git%{gitversion}}%{dist}
+Release:    6%{?gitdate:.%{gitdate}git%{gitversion}}%{dist}
 URL:	    http://www.x.org
 License:    MIT
 Group:	    User Interface/X Hardware Support
@@ -25,6 +25,7 @@ Source0:    ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
 Patch2:     vmmouse-12.6.9-iopl-revert.patch
 # don't mangle udev rules dir
 Patch3:     0001-Fetch-the-udev-dir-from-udev.pc-instead-of-guessing-.patch
+Patch4:	    vmmouse-12.9.0-unsafe-logging.patch
 
 # Yes, this is not the same as vmware.  Yes, this is intentional.
 ExclusiveArch: %{ix86} x86_64
@@ -42,6 +43,7 @@ X.Org X11 vmmouse input driver.
 %setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
 %patch2 -p1 
 %patch3 -p1 
+%patch4 -p1
 
 %build
 autoreconf -v --install --force || exit 1
@@ -73,6 +75,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_prefix}/lib/udev/rules.d/*.rules
 
 %changelog
+* Mon Aug 20 2012 Adam Jackson <ajax at redhat.com> 12.9.0-6
+- vmmouse-12.9.0-unsafe-logging.patch: Stifle some unsafe logging on the
+  read_input path.
+
 * Sun Aug 05 2012 Peter Hutterer <peter.hutterer at redhat.com> 12.9.0-5
 - Get the udev rules dir from udev.pc instead of manually patching it
 


More information about the scm-commits mailing list