summaryrefslogtreecommitdiff
path: root/x11/xwit/patches
diff options
context:
space:
mode:
authorwiz <wiz>2001-03-16 14:15:53 +0000
committerwiz <wiz>2001-03-16 14:15:53 +0000
commitf6f415db6f90937e442524caf0344564c41ebe7e (patch)
treeb3be25da50ffeeb27a02f61063eeafc7566d4b19 /x11/xwit/patches
parent538c5f4a3f3d1261e8f3cf3d192d664abdb7ba96 (diff)
downloadpkgsrc-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-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
+ }
+
+ /*