From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 22 17:30:14 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E344316A4DA for ; Sat, 22 Jul 2006 17:30:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E06543D46 for ; Sat, 22 Jul 2006 17:30:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6MHUESO083641 for ; Sat, 22 Jul 2006 17:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6MHUEgo083636; Sat, 22 Jul 2006 17:30:14 GMT (envelope-from gnats) Resent-Date: Sat, 22 Jul 2006 17:30:14 GMT Resent-Message-Id: <200607221730.k6MHUEgo083636@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Juergen Lock Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8E4716A525 for ; Sat, 22 Jul 2006 17:29:50 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D0D343D53 for ; Sat, 22 Jul 2006 17:29:49 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k6MHTlOG003590 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 22 Jul 2006 19:29:47 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id k6MHTlld003588 for FreeBSD-gnats-submit@freebsd.org; Sat, 22 Jul 2006 19:29:47 +0200 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id k6MHO9mp053426 for ; Sat, 22 Jul 2006 19:24:09 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id k6MHO8u9053425; Sat, 22 Jul 2006 19:24:08 +0200 (CEST) (envelope-from nox) Message-Id: <200607221724.k6MHO8u9053425@saturn.kn-bremen.de> Date: Sat, 22 Jul 2006 19:24:08 +0200 (CEST) From: Juergen Lock To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/100722: add `invisible wall' patch to emulators/qemu X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Juergen Lock List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2006 17:30:15 -0000 >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: