Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Build failure in xsrc



Would anyone object to the following change as a short term hack to get
X11 to build ?

I guess the alternative is some form of versioning of the Firm_event
structure and associated ioctl calls.

Robert Swindells

Index: sunKbd.c
===================================================================
RCS file: /cvsroot/xsrc/xfree/xc/programs/Xserver/hw/sun/sunKbd.c,v
retrieving revision 1.2
diff -u -r1.2 sunKbd.c
--- sunKbd.c    31 Dec 2004 12:33:40 -0000      1.2
+++ sunKbd.c    10 May 2009 16:05:37 -0000
@@ -833,7 +833,8 @@
        autoRepeatEvent = *xE;
        autoRepeatFirst = TRUE;
        autoRepeatKeyDown++;
-       autoRepeatLastKeyDownTv = fe->time;
+       autoRepeatLastKeyDownTv.tv_sec = fe->time.tv_sec; /* XXX */
+       autoRepeatLastKeyDownTv.tv_usec = fe->time.tv_usec;
     }
     return FALSE;
 }


Home | Main Index | Thread Index | Old Index