diff options
author | wiz <wiz@pkgsrc.org> | 2001-03-16 14:15:53 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-03-16 14:15:53 +0000 |
commit | ebcea233dbb12338bfd4c8ce0d2f0cee72ef4f4d (patch) | |
tree | b3be25da50ffeeb27a02f61063eeafc7566d4b19 /x11/xwit/patches/patch-aa | |
parent | 9c82eb852e67958e1032bcac6c8e4d030040c0fb (diff) | |
download | pkgsrc-ebcea233dbb12338bfd4c8ce0d2f0cee72ef4f4d.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/patch-aa')
-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 + } + + /* |