From 67b8cfeeef1992497579b2585c64a9ce0154f979 Mon Sep 17 00:00:00 2001 From: Sam Lawrance Date: Mon, 14 Nov 2005 05:17:09 +0000 Subject: Update to 2005-11-12 snapshot. PR: ports/88952 Submitted by: Juergen Lock (maintainer) --- emulators/qemu/files/patch-vl.c | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'emulators/qemu/files/patch-vl.c') diff --git a/emulators/qemu/files/patch-vl.c b/emulators/qemu/files/patch-vl.c index 85a521ba3bd0..5eff6568373b 100644 --- a/emulators/qemu/files/patch-vl.c +++ b/emulators/qemu/files/patch-vl.c @@ -1,4 +1,5 @@ -Index: qemu/vl.c +--- vl.c.orig Mon Nov 14 15:55:56 2005 ++++ vl.c Mon Nov 14 15:57:25 2005 @@ -40,6 +40,10 @@ #include #include @@ -10,7 +11,7 @@ Index: qemu/vl.c #ifdef _BSD #include #ifndef __APPLE__ -@@ -1280,7 +1284,7 @@ +@@ -1363,7 +1367,7 @@ return chr; } @@ -19,3 +20,19 @@ Index: qemu/vl.c CharDriverState *qemu_chr_open_pty(void) { char slave_name[1024]; +@@ -1509,6 +1513,7 @@ + return chr; + } + ++#if defined(__linux__) + static int pp_ioctl(CharDriverState *chr, int cmd, void *arg) + { + int fd = (int)chr->opaque; +@@ -1571,6 +1576,7 @@ + chr->chr_ioctl = pp_ioctl; + return chr; + } ++#endif + + #else + CharDriverState *qemu_chr_open_pty(void) -- cgit v1.2.3