patches/xf86-input-synaptics-05-solaris.diff
changeset 2212 82f60d1f7c90
parent 2185 42f2be129be9
--- a/patches/xf86-input-synaptics-05-solaris.diff	Tue Oct 13 23:59:26 2009 +0000
+++ b/patches/xf86-input-synaptics-05-solaris.diff	Fri Oct 16 03:41:48 2009 +0000
@@ -1,13 +1,12 @@
---- xf86-input-synaptics-1.1.3.orig/src/ps2comm.c	Sun Aug  2 21:04:24 2009
-+++ xf86-input-synaptics-1.1.3/src/ps2comm.c	Sun Sep 20 14:33:48 2009
-@@ -399,7 +399,10 @@
+--- xf86-input-synaptics-1.1.99.1.orig/src/ps2comm.c	2009-08-21 05:11:56.000000000 -0400
++++ xf86-input-synaptics-1.1.99.1/src/ps2comm.c	2009-09-25 02:24:00.324586398 -0400
+@@ -406,7 +406,9 @@
  	    break;
      }
  
-+    /* xf86WaitForInput() loops select() with EINTR on Solaris */
-+    #if !(defined(__sun) && defined(__SVR4))
++#if !(defined(__sun) && defined(__SVR4))
      xf86WaitForInput(fd, 20000);
-+    #endif
++#endif
      xf86FlushInput(fd);
-     if (ps2_synaptics_identify(fd, &synhw)) {
+     if (ps2_synaptics_identify(fd, synhw)) {
  	return TRUE;