summaryrefslogtreecommitdiff
path: root/sysutils/xentools33
diff options
context:
space:
mode:
authorbouyer <bouyer>2009-10-18 21:28:10 +0000
committerbouyer <bouyer>2009-10-18 21:28:10 +0000
commiteed7a926ea8e562b2af10dbb9cd61f3f9691bece (patch)
tree818550f7decb59e4ffa67e6551db9ada5a1d7d72 /sysutils/xentools33
parentb37a0c2980412e71106853320b1329afbe05104e (diff)
downloadpkgsrc-eed7a926ea8e562b2af10dbb9cd61f3f9691bece.tar.gz
Fix serial port on pty (serial = 'pty' configuration directive) for
HVM guests. Tested with a NetBSD 4.0.1 i386 boot cd with console on com0. PKGREVISION++
Diffstat (limited to 'sysutils/xentools33')
-rw-r--r--sysutils/xentools33/distinfo4
-rw-r--r--sysutils/xentools33/patches/patch-fc19
2 files changed, 18 insertions, 5 deletions
diff --git a/sysutils/xentools33/distinfo b/sysutils/xentools33/distinfo
index 554813cd2fb..1db541c954c 100644
--- a/sysutils/xentools33/distinfo
+++ b/sysutils/xentools33/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2009/08/07 12:49:21 cegger Exp $
+$NetBSD: distinfo,v 1.18 2009/10/18 21:28:10 bouyer Exp $
SHA1 (xen-3.3.2.tar.gz) = 7f438e73ac81b25cf5e1570709e87001066bafe4
RMD160 (xen-3.3.2.tar.gz) = 28faa56286f2a418e35dcba6079570ea871d6c7b
@@ -46,6 +46,6 @@ SHA1 (patch-ef) = c8740b1c9cfac686f2e4e32c7613b5f02206459d
SHA1 (patch-eg) = 84e816c95167828314ef901e324772249a407c41
SHA1 (patch-fa) = b4a4b7334357ebcd1646886c18c9772e8b9ae765
SHA1 (patch-fb) = 22a07628566b43aa786c410927d29a283e8cf141
-SHA1 (patch-fc) = 37c9b0897182de93a01f9620ef6346ef68157770
+SHA1 (patch-fc) = d5afc1a1e16f26203a5615142efda8fade48b371
SHA1 (patch-fd) = cb4741bf33050d72cfbcd2eff4a8632d976de643
SHA1 (patch-fe) = 85d42672766fe8ce2dc7f745938722710c6ee5a3
diff --git a/sysutils/xentools33/patches/patch-fc b/sysutils/xentools33/patches/patch-fc
index 9affdd4a8dd..8e3715f3c77 100644
--- a/sysutils/xentools33/patches/patch-fc
+++ b/sysutils/xentools33/patches/patch-fc
@@ -1,7 +1,7 @@
-$NetBSD: patch-fc,v 1.2 2008/08/15 14:06:54 cegger Exp $
+$NetBSD: patch-fc,v 1.3 2009/10/18 21:28:10 bouyer Exp $
---- ioemu/vl.c.orig 2008-08-14 15:26:06.000000000 +0000
-+++ ioemu/vl.c
+--- ioemu/vl.c.orig 2009-01-05 12:26:59.000000000 +0100
++++ ioemu/vl.c 2009-10-18 23:08:55.000000000 +0200
@@ -108,7 +108,7 @@
#include "exec-all.h"
@@ -20,3 +20,16 @@ $NetBSD: patch-fc,v 1.2 2008/08/15 14:06:54 cegger Exp $
#endif
//#define DEBUG_UNUSED_IOPORT
+@@ -1914,8 +1914,11 @@
+ }
+
+ /* Set raw attributes on the pty. */
++ if (tcgetattr(master_fd, &tty) < 0)
++ perror("tcgetattr");
+ cfmakeraw(&tty);
+- tcsetattr(slave_fd, TCSAFLUSH, &tty);
++ if (tcsetattr(slave_fd, TCSAFLUSH, &tty) < 0)
++ perror("tcsetattr");
+
+ fprintf(stderr, "char device redirected to %s\n", ptsname(master_fd));
+