diff options
author | wiz <wiz> | 2001-03-16 14:15:53 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-03-16 14:15:53 +0000 |
commit | f6f415db6f90937e442524caf0344564c41ebe7e (patch) | |
tree | b3be25da50ffeeb27a02f61063eeafc7566d4b19 /x11/xwit/patches | |
parent | 538c5f4a3f3d1261e8f3cf3d192d664abdb7ba96 (diff) | |
download | pkgsrc-f6f415db6f90937e442524caf0344564c41ebe7e.tar.gz |
Initial import of xwit-3.4: Utility for calling X11 functions from the
shell. From pkg/11789.
Diffstat (limited to 'x11/xwit/patches')
-rw-r--r-- | x11/xwit/patches/patch-aa | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/x11/xwit/patches/patch-aa b/x11/xwit/patches/patch-aa new file mode 100644 index 00000000000..bad3085f4d8 --- /dev/null +++ b/x11/xwit/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/03/16 14:15:53 wiz Exp $ + +--- xwit.c.orig Tue Oct 21 03:32:54 1997 ++++ xwit.c +@@ -131,10 +131,14 @@ + mssleep(ms) + int ms; + { ++#ifdef __NetBSD__ ++ usleep((useconds_t) ms*1000); ++#else + struct timeval tv; + tv.tv_sec = ms/1000; + tv.tv_usec = (ms%1000)*1000; + select(0,(int*)0,(int*)0,(int*)0,&tv); ++#endif + } + + /* |