summaryrefslogtreecommitdiff
path: root/sysutils/xentools30-hvm/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xentools30-hvm/patches/patch-ao')
-rw-r--r--sysutils/xentools30-hvm/patches/patch-ao23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/xentools30-hvm/patches/patch-ao b/sysutils/xentools30-hvm/patches/patch-ao
new file mode 100644
index 00000000000..9dee07ee261
--- /dev/null
+++ b/sysutils/xentools30-hvm/patches/patch-ao
@@ -0,0 +1,23 @@
+$NetBSD: patch-ao,v 1.1.1.1 2006/10/19 22:58:21 bouyer Exp $
+
+--- ioemu/configure.orig 2006-10-04 04:28:06.000000000 +0200
++++ ioemu/configure 2006-10-18 17:37:42.000000000 +0200
+@@ -517,7 +517,7 @@
+ datadir="$prefix/share/xen/qemu"
+ docdir="$prefix/share/doc/qemu"
+-bindir="$prefix/$libdir/xen/bin"
++bindir="$prefix/libexec"
+-configdir="/etc/xen"
++configdir="@XENDCONFDIR@"
+ fi
+
+ echo "Install prefix $prefix"
+@@ -653,6 +653,8 @@
+ echo "#define CONFIG_WIN32 1" >> $config_h
+ elif test -f "/usr/include/byteswap.h" ; then
+ echo "#define HAVE_BYTESWAP_H 1" >> $config_h
++elif test -f "/usr/include/machine/bswap.h" ; then
++ echo "#define HAVE_MACHINE_BSWAP_H 1" >> $config_h
+ fi
+ if test "$darwin" = "yes" ; then
+ echo "CONFIG_DARWIN=yes" >> $config_mak