- Add a fix by Anthony Liguori for the 'invisible wall' problem:

http://lists.gnu.org/archive/html/qemu-devel/2006-05/msg00112.html

- Update pkg-message (linux 2.6 default HZ)

PR:		ports/100722
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
Approved by:	ahze (mentor, implicit)
This commit is contained in:
Shaun Amott 2006-07-23 00:04:01 +00:00
parent c554d9cee7
commit b8cd95d65e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168512
6 changed files with 52 additions and 6 deletions

View file

@ -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 \

View file

@ -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);
}
}

View file

@ -15,8 +15,8 @@ for example time sleep 1 takes 49 seconds and booting sleeps for
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

View file

@ -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 \

View file

@ -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);
}
}

View file

@ -15,8 +15,8 @@ for example time sleep 1 takes 49 seconds and booting sleeps for
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