summaryrefslogtreecommitdiff
path: root/sysutils/xentools3-hvm/patches/patch-ba
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xentools3-hvm/patches/patch-ba')
-rw-r--r--sysutils/xentools3-hvm/patches/patch-ba15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/xentools3-hvm/patches/patch-ba b/sysutils/xentools3-hvm/patches/patch-ba
new file mode 100644
index 00000000000..81215f06030
--- /dev/null
+++ b/sysutils/xentools3-hvm/patches/patch-ba
@@ -0,0 +1,15 @@
+$NetBSD: patch-ba,v 1.1.1.1 2007/06/14 19:42:12 bouyer Exp $
+
+--- ioemu/target-i386-dm/exec-dm.c.orig 2006-10-18 18:19:27.000000000 +0200
++++ ioemu/target-i386-dm/exec-dm.c 2006-10-18 18:19:40.000000000 +0200
+@@ -163,8 +163,8 @@
+ #else
+ setvbuf(logfile, NULL, _IOLBF, 0);
+ #endif
+- stdout = logfile;
+- stderr = logfile;
++ dup2(fileno(logfile), 1);
++ dup2(fileno(logfile), 2);
+ }
+ }
+