summaryrefslogtreecommitdiff
path: root/sysutils/xentools33/patches/patch-fc
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xentools33/patches/patch-fc')
-rw-r--r--sysutils/xentools33/patches/patch-fc22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/xentools33/patches/patch-fc b/sysutils/xentools33/patches/patch-fc
new file mode 100644
index 00000000000..a1141428eea
--- /dev/null
+++ b/sysutils/xentools33/patches/patch-fc
@@ -0,0 +1,22 @@
+$NetBSD: patch-fc,v 1.1.1.1 2008/08/07 20:26:59 cegger Exp $
+
+--- ioemu/vl.c.orig 2008-08-01 14:38:07.000000000 +0000
++++ ioemu/vl.c
+@@ -108,7 +108,7 @@
+
+ #include "exec-all.h"
+
+-#define DEFAULT_NETWORK_SCRIPT "/etc/xen/qemu-ifup"
++#define DEFAULT_NETWORK_SCRIPT "@XENDCONFDIR@/qemu-ifup"
+ #ifdef _BSD
+ #define DEFAULT_BRIDGE "bridge0"
+ #else
+@@ -117,7 +117,7 @@
+ #ifdef __sun__
+ #define SMBD_COMMAND "/usr/sfw/sbin/smbd"
+ #else
+-#define SMBD_COMMAND "/usr/sbin/smbd"
++#define SMBD_COMMAND "@PREFIX@/sbin/smbd"
+ #endif
+
+ //#define DEBUG_UNUSED_IOPORT