Date: Sat, 22 Jul 2006 19:24:08 +0200 (CEST) From: Juergen Lock <nox@jelal.kn-bremen.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/100722: add `invisible wall' patch to emulators/qemu Message-ID: <200607221724.k6MHO8u9053425@saturn.kn-bremen.de> Resent-Message-ID: <200607221730.k6MHUEgo083636@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 100722 >Category: ports >Synopsis: add `invisible wall' patch to emulators/qemu >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Jul 22 17:30:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Juergen Lock >Release: FreeBSD 6.1-RELEASE-p1 i386 >Organization: me? organized?? >Environment: System: FreeBSD saturn 6.1-RELEASE-p1 FreeBSD 6.1-RELEASE-p1 #2: Fri Jun 23 23:45:09 CEST 2006 nox@saturn:/ad4/usr/home/nox/src61/src/sys/i386/compile/GENERICu i386 >Description: . add files/patch-sdl.c which is the `invisible wall' fix from Anthony Liguori: http://lists.gnu.org/archive/html/qemu-devel/2006-05/msg00112.html (I should have added this earlier I guess, thanx to Jamie Jones for reminding me) . update pkg-message (linux 2.6 default HZ) >How-To-Repeat: move mouse in guest window... >Fix: New file: files/patch-sdl.c Index: Makefile =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/Makefile,v retrieving revision 1.52 diff -u -r1.52 Makefile --- Makefile 19 May 2006 08:17:54 -0000 1.52 +++ Makefile 22 Jul 2006 15:51:48 -0000 @@ -7,7 +7,7 @@ PORTNAME= qemu PORTVERSION= 0.8.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= http://www.qemu.org/:release \ http://people.fruitsalad.org/nox/qemu/:snapshot \ Index: pkg-message =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/pkg-message,v retrieving revision 1.12 diff -u -r1.12 pkg-message --- pkg-message 18 Mar 2006 21:23:42 -0000 1.12 +++ pkg-message 13 May 2006 21:16:51 -0000 @@ -15,8 +15,8 @@ minutes at the acd0 probe with a FreeSBIE 1.0 guest, thats because its kernel is built with HZ=5000, and FreeBSD's default is 100... (no longer a problem with FreeSBIE 1.1.) The linux 2.6 kernel uses -1000 by default btw. Enabling /dev/rtc doesn't seem to help either -(not included since it needs a patch to emulators/rtc.) +1000 by default btw (changed to 250 recently). Enabling /dev/rtc doesn't +seem to help either (not included since it needs a patch to emulators/rtc.) - using physical media doesn't work on 4.x hosts (missing DIOCGMEDIASIZE ioctl.) - the -smb option (smb-export local dir to guest) needs the net/samba Index: files/patch-sdl.c @@ -0,0 +1,23 @@ +Index: qemu/sdl.c +@@ -280,13 +280,19 @@ + + static void sdl_hide_cursor(void) + { +- SDL_SetCursor(sdl_cursor_hidden); ++ 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); ++ SDL_ShowCursor(1); + } + } + >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607221724.k6MHO8u9053425>