mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- 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:
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
|
@ -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 \
|
||||
|
|
23
emulators/qemu-devel/files/patch-sdl.c
Normal file
23
emulators/qemu-devel/files/patch-sdl.c
Normal 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);
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
23
emulators/qemu/files/patch-sdl.c
Normal file
23
emulators/qemu/files/patch-sdl.c
Normal 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);
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue