diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2006-08-07 16:10:27 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2006-08-07 16:10:27 +0000 |
commit | abffcb30ec97e8b7fe50b51b323a63201f83190d (patch) | |
tree | 14535343032cf24b54d2d185d006e38ee894f846 /emulators/qemu/files/patch-vl.c | |
parent | o Update to 0.9.8. (diff) |
Update to 0.8.2.
PR: ports/101381
Submitted by: Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
Diffstat (limited to 'emulators/qemu/files/patch-vl.c')
-rw-r--r-- | emulators/qemu/files/patch-vl.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/emulators/qemu/files/patch-vl.c b/emulators/qemu/files/patch-vl.c index adf052460e28..53d8063f7a31 100644 --- a/emulators/qemu/files/patch-vl.c +++ b/emulators/qemu/files/patch-vl.c @@ -1,6 +1,5 @@ ---- vl.c.orig Mon Nov 14 15:55:56 2005 -+++ vl.c Mon Nov 14 15:57:25 2005 -@@ -1363,7 +1367,7 @@ +Index: qemu/vl.c +@@ -1510,7 +1510,7 @@ return chr; } @@ -8,8 +7,8 @@ +#if defined(__linux__) || defined(__FreeBSD__) CharDriverState *qemu_chr_open_pty(void) { - char slave_name[1024]; -@@ -1509,6 +1513,7 @@ + struct termios tty; +@@ -1665,6 +1665,7 @@ return chr; } @@ -17,11 +16,11 @@ static int pp_ioctl(CharDriverState *chr, int cmd, void *arg) { int fd = (int)chr->opaque; -@@ -1571,6 +1576,7 @@ +@@ -1727,6 +1728,7 @@ chr->chr_ioctl = pp_ioctl; return chr; } -+#endif ++#endif /* defined(__linux__) */ #else CharDriverState *qemu_chr_open_pty(void) |