diff options
author | itohy <itohy> | 2001-11-17 15:17:41 +0000 |
---|---|---|
committer | itohy <itohy> | 2001-11-17 15:17:41 +0000 |
commit | f647a79a41021574f98d706f7f01d565f8aa57f6 (patch) | |
tree | 8eeac27bc93f213f1dae9f42b6c411acc406842c /audio/xwave | |
parent | c49b12e18c5fa7782d711e36ceaba2bbc44117a6 (diff) | |
download | pkgsrc-f647a79a41021574f98d706f7f01d565f8aa57f6.tar.gz |
Avoid hang on unhandled X event when selecting wave region.
Diffstat (limited to 'audio/xwave')
-rw-r--r-- | audio/xwave/distinfo | 4 | ||||
-rw-r--r-- | audio/xwave/patches/patch-ah | 16 |
2 files changed, 15 insertions, 5 deletions
diff --git a/audio/xwave/distinfo b/audio/xwave/distinfo index 0ecb335ab9c..ec04ce2ac76 100644 --- a/audio/xwave/distinfo +++ b/audio/xwave/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/04/18 12:14:42 agc Exp $ +$NetBSD: distinfo,v 1.3 2001/11/17 15:17:41 itohy Exp $ SHA1 (xwave2.tar.gz) = 7ace9911c9425eab4907a34694cd208d21a6dac2 Size (xwave2.tar.gz) = 269942 bytes @@ -9,7 +9,7 @@ SHA1 (patch-ad) = 373a8b9aff67f768e4968c349298f74d0d3deb5f SHA1 (patch-ae) = 9b4fed9bb232334f2fcaaf59db152d1b078f3702 SHA1 (patch-af) = 01d5fdad2c7056252ab64c49d9ebb06c7b5fbf6c SHA1 (patch-ag) = 8105ecafd316493fb2f13053e824e53d5192e389 -SHA1 (patch-ah) = 29f54d23558b4abc8c3742a4a4cbd9af94d5c5c3 +SHA1 (patch-ah) = fad386065d63b53d035e8a92d83cd4ed489c243c SHA1 (patch-ai) = 34cd50fc75d5dd604349d5f694a993f23d87a24a SHA1 (patch-aj) = 6705d6249ccb8c5e43bfbd5db3ddacd1ed5dd194 SHA1 (patch-ak) = cab81a7ad665ecabf09cae3908b13cef17f3ca17 diff --git a/audio/xwave/patches/patch-ah b/audio/xwave/patches/patch-ah index 2310d39e6e3..a545cdff08e 100644 --- a/audio/xwave/patches/patch-ah +++ b/audio/xwave/patches/patch-ah @@ -1,7 +1,7 @@ -$NetBSD: patch-ah,v 1.2 1998/08/07 10:36:24 agc Exp $ +$NetBSD: patch-ah,v 1.3 2001/11/17 15:17:42 itohy Exp $ ---- orig/xwave/src/graphics.c Mon Nov 25 13:33:43 1996 -+++ src/graphics.c Sat Sep 13 04:28:37 1997 +--- src/graphics.c.orig Thu Aug 13 08:27:09 1998 ++++ src/graphics.c Sun Nov 18 00:06:53 2001 @@ -30,7 +30,7 @@ #ifdef linux @@ -11,3 +11,13 @@ $NetBSD: patch-ah,v 1.2 1998/08/07 10:36:24 agc Exp $ #include <machine/endian.h> #elif defined (sgi) #include <sys/endian.h> +@@ -2064,6 +2064,9 @@ + if (XPending(dpy)) { + XPeekEvent(dpy,&pev); + switch (pev.type) { ++ default: ++ XNextEvent(dpy,&pev); ++ break; + case MotionNotify: { + XMotionEvent *ev; + |