diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index d5cad62ec4a..c6cc96f592e 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.36 2008/07/24 19:00:11 martynas Exp $ +# $OpenBSD: Makefile,v 1.37 2008/09/22 15:17:54 mpf Exp $ # no success building on other archs yet ONLY_FOR_ARCHS= amd64 i386 powerpc @@ -6,7 +6,7 @@ ONLY_FOR_ARCHS= amd64 i386 powerpc COMMENT= multi system emulator DISTNAME= qemu-0.9.1 -PKGNAME= ${DISTNAME}p3 +PKGNAME= ${DISTNAME}p4 CATEGORIES= emulators HOMEPAGE= http://bellard.org/qemu/ diff --git a/emulators/qemu/patches/patch-vl_c b/emulators/qemu/patches/patch-vl_c index 59e9cc87191..afa5fc61540 100644 --- a/emulators/qemu/patches/patch-vl_c +++ b/emulators/qemu/patches/patch-vl_c @@ -1,4 +1,4 @@ -$OpenBSD: patch-vl_c,v 1.18 2008/06/19 05:51:17 todd Exp $ +$OpenBSD: patch-vl_c,v 1.19 2008/09/22 15:17:54 mpf Exp $ --- vl.c.orig Sun Jan 6 13:38:42 2008 +++ vl.c Tue Jun 17 19:48:00 2008 @@ -61,7 +61,8 @@ @@ -169,7 +169,7 @@ $OpenBSD: patch-vl_c,v 1.18 2008/06/19 05:51:17 todd Exp $ + if (get_param_value(ifname, sizeof(ifname), "ifname", p) == 0) + ret = net_tap_init(vlan, NULL, setup_script, down_script); + else -+ ret = net_tap_init(vlan, NULL, setup_script, down_script); ++ ret = net_tap_init(vlan, ifname, setup_script, down_script); } } else #endif