diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile index 623c83d1145e..0563c8a4b8c1 100644 --- a/emulators/qemu-devel/Makefile +++ b/emulators/qemu-devel/Makefile @@ -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 \ diff --git a/emulators/qemu-devel/files/patch-sdl.c b/emulators/qemu-devel/files/patch-sdl.c new file mode 100644 index 000000000000..68ea6cd4dc51 --- /dev/null +++ b/emulators/qemu-devel/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); + } + } + diff --git a/emulators/qemu-devel/pkg-message b/emulators/qemu-devel/pkg-message index c335f5b3be17..6aae63037bb3 100644 --- a/emulators/qemu-devel/pkg-message +++ b/emulators/qemu-devel/pkg-message @@ -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 diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index 623c83d1145e..0563c8a4b8c1 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -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 \ diff --git a/emulators/qemu/files/patch-sdl.c b/emulators/qemu/files/patch-sdl.c new file mode 100644 index 000000000000..68ea6cd4dc51 --- /dev/null +++ b/emulators/qemu/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); + } + } + diff --git a/emulators/qemu/pkg-message b/emulators/qemu/pkg-message index c335f5b3be17..6aae63037bb3 100644 --- a/emulators/qemu/pkg-message +++ b/emulators/qemu/pkg-message @@ -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