summaryrefslogtreecommitdiff
path: root/x11/xwit/patches/patch-aa
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-03-16 14:15:53 +0000
committerwiz <wiz@pkgsrc.org>2001-03-16 14:15:53 +0000
commitebcea233dbb12338bfd4c8ce0d2f0cee72ef4f4d (patch)
treeb3be25da50ffeeb27a02f61063eeafc7566d4b19 /x11/xwit/patches/patch-aa
parent9c82eb852e67958e1032bcac6c8e4d030040c0fb (diff)
downloadpkgsrc-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-aa19
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
+ }
+
+ /*