summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2006-05-07 21:33:53 +0000
committerxtraeme <xtraeme>2006-05-07 21:33:53 +0000
commit8713033439065aa57a022aa1c8534f81a41d5840 (patch)
tree6f9c95c161c4da55d0b59765489599d2a6fe37b9 /emulators
parent65ad3aa37aa44a303ccc42697feebffc5a6316d2 (diff)
downloadpkgsrc-8713033439065aa57a022aa1c8534f81a41d5840.tar.gz
Apply patch PR pkg/33437: mouse pointer "invisible wall" with qemu 8.1.
More info: http://lists.gnu.org/archive/html/qemu-devel/2006-05/msg00112.html Bump PKGREVISION.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/qemu/Makefile3
-rw-r--r--emulators/qemu/distinfo3
-rw-r--r--emulators/qemu/patches/patch-az28
3 files changed, 32 insertions, 2 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index 11f203e71c2..1e502fc889a 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.30 2006/05/06 18:09:53 xtraeme Exp $
+# $NetBSD: Makefile,v 1.31 2006/05/07 21:33:53 xtraeme Exp $
#
DISTNAME= qemu-0.8.1
+PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://fabrice.bellard.free.fr/qemu/
diff --git a/emulators/qemu/distinfo b/emulators/qemu/distinfo
index d106d2d48d2..400676d4891 100644
--- a/emulators/qemu/distinfo
+++ b/emulators/qemu/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2006/05/06 18:41:49 xtraeme Exp $
+$NetBSD: distinfo,v 1.22 2006/05/07 21:33:53 xtraeme Exp $
SHA1 (qemu-0.8.1.tar.gz) = 72c943c24bed6aa066dcc3012b198c20f04aef30
RMD160 (qemu-0.8.1.tar.gz) = 04d163d4792bbea39fc0b1e52af124cdb7e907dc
@@ -21,3 +21,4 @@ SHA1 (patch-au) = 29d05fb5f4717fb572491d9d0653ec74ba46ae7e
SHA1 (patch-aw) = 6299964fb3a747e8f5dfe4354e66722030ee9a75
SHA1 (patch-ax) = 66b060005ecbf9fd0451f7960e81eccbabf959ca
SHA1 (patch-ay) = b1a2c96012cc24c3818f1c494eadbbd9968ea085
+SHA1 (patch-az) = 27ab658a2bb48ff78a313e47da0e1907b660f150
diff --git a/emulators/qemu/patches/patch-az b/emulators/qemu/patches/patch-az
new file mode 100644
index 00000000000..901d51f1a1f
--- /dev/null
+++ b/emulators/qemu/patches/patch-az
@@ -0,0 +1,28 @@
+$NetBSD: patch-az,v 1.1 2006/05/07 21:33:53 xtraeme Exp $
+
+Patch to fix the mouse pointer "invisible wall":
+http://lists.gnu.org/archive/html/qemu-devel/2006-05/msg00112.html
+
+--- sdl.c.orig 2006-05-07 23:29:46.000000000 +0200
++++ sdl.c 2006-05-07 23:31:00.000000000 +0200
+@@ -280,14 +280,17 @@
+
+ static void sdl_hide_cursor(void)
+ {
++ if (kbd_mouse_is_absolute()) {
++ SDL_ShowCursor(1);
+ SDL_SetCursor(sdl_cursor_hidden);
++ } else
++ SDL_ShowCursor(0);
+ }
+
+ static void sdl_show_cursor(void)
+ {
+- if (!kbd_mouse_is_absolute()) {
+- SDL_SetCursor(sdl_cursor_normal);
+- }
++ if (!kbd_mouse_is_absolute())
++ SDL_ShowCursor(1);
+ }
+
+ static void sdl_grab_start(void)