Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D6amO-0007PE-HO for qemu-devel@nongnu.org; Wed, 02 Mar 2005 15:49:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D6amH-0007MZ-NY for qemu-devel@nongnu.org; Wed, 02 Mar 2005 15:49:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6amG-0007EZ-Ab for qemu-devel@nongnu.org; Wed, 02 Mar 2005 15:49:04 -0500 Received: from [213.228.0.62] (helo=postfix4-1.free.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D6aDB-000354-25 for qemu-devel@nongnu.org; Wed, 02 Mar 2005 15:12:49 -0500 Received: from [192.168.1.101] (unknown [82.227.67.30]) by postfix4-1.free.fr (Postfix) with ESMTP id BC68329BF0B for ; Wed, 2 Mar 2005 21:09:55 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v619.2) Message-Id: Content-Type: multipart/mixed; boundary=Apple-Mail-2-490492452 From: Pierre d'Herbemont Date: Wed, 2 Mar 2005 21:09:54 +0100 Subject: [Qemu-devel] [Patch] Fix for ppc-softmmu and cocoa video driver Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --Apple-Mail-2-490492452 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Fabrice, Here are two (tiny) fixes for the cocoa video driver. The first one enables compilation of the ppc-softmmu target with the cocoa driver. The second removes the following warning: vl.c:3565: warning: implicit declaration of function `cocoa_display_init' Thanks, Pierre. --Apple-Mail-2-490492452 Content-Transfer-Encoding: 7bit Content-Type: text/plain; x-unix-mode=0644; name="tinycocoadrvfixes.diff.txt" Content-Disposition: attachment; filename=tinycocoadrvfixes.diff.txt Index: cocoa.m =================================================================== RCS file: /cvsroot/qemu/qemu/cocoa.m,v retrieving revision 1.1 diff -u -r1.1 cocoa.m --- cocoa.m 1 Mar 2005 21:37:28 -0000 1.1 +++ cocoa.m 2 Mar 2005 20:08:14 -0000 @@ -34,9 +34,11 @@ x simple graphical prompt to demo - better graphical prompt */ -#include "vl.h" + #import +#include "vl.h" + NSWindow *window = NULL; NSQuickDrawView *qd_view = NULL; Index: vl.h =================================================================== RCS file: /cvsroot/qemu/qemu/vl.h,v retrieving revision 1.67 diff -u -r1.67 vl.h --- vl.h 10 Feb 2005 22:00:06 -0000 1.67 +++ vl.h 2 Mar 2005 20:08:15 -0000 @@ -572,6 +572,9 @@ /* sdl.c */ void sdl_display_init(DisplayState *ds, int full_screen); +/* sdl.c */ +void cocoa_display_init(DisplayState *ds, int full_screen); + /* ide.c */ #define MAX_DISKS 4 --Apple-Mail-2-490492452--