jerky mouse still in 7.0-RELEASE
Jung-uk Kim
jkim at freebsd.org
Fri Feb 29 00:53:38 UTC 2008
On Thursday 28 February 2008 01:30 pm, Teemu Korhonen wrote:
> Did anyone find a solution to the "jerky mouse" -problem? It still
> exists in 7.0-RELEASE.
>
> I have pretty much exact same symptoms as in this post:
>
http://lists.freebsd.org/pipermail/freebsd-stable/2008-January/039599.html
Can you try the attached patches for ports/x11-servers/xorg-server?
Just drop them in files directory, rebuild, reinstall, etc...
Thanks,
Jung-uk Kim
-------------- next part --------------
--- configure.orig 2008-02-28 16:08:55.000000000 -0500
+++ configure 2008-02-28 16:11:19.000000000 -0500
@@ -30376,7 +30376,7 @@
else
cat >conftest.$ac_ext <<_ACEOF
-#define _POSIX_C_SOURCE 199309L
+#define _POSIX_C_SOURCE 200112L
#include <time.h>
int main(int argc, char *argv[]) {
--- configure.ac.orig 2007-09-06 01:59:00.000000000 -0400
+++ configure.ac 2008-02-28 16:11:23.000000000 -0500
@@ -1055,7 +1055,7 @@
LIBS="$CLOCK_LIBS"
AC_RUN_IFELSE([
-#define _POSIX_C_SOURCE 199309L
+#define _POSIX_C_SOURCE 200112L
#include <time.h>
int main(int argc, char *argv[[]]) {
-------------- next part --------------
--- os/utils.c.orig 2007-08-23 15:04:55.000000000 -0400
+++ os/utils.c 2008-02-28 16:20:29.000000000 -0500
@@ -525,7 +525,11 @@
#ifdef MONOTONIC_CLOCK
struct timespec tp;
+#ifdef __FreeBSD__
+ if (clock_gettime(CLOCK_MONOTONIC_FAST, &tp) == 0)
+#else
if (clock_gettime(CLOCK_MONOTONIC, &tp) == 0)
+#endif
return (tp.tv_sec * 1000) + (tp.tv_nsec / 1000000L);
#endif
-------------- next part --------------
_______________________________________________
freebsd-stable at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
More information about the freebsd-x11
mailing list