View | Details | Raw Unified | Return to bug 131603
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	kqemu
8
PORTNAME=	kqemu
9
PORTVERSION=	1.4.0.p1
9
PORTVERSION=	1.4.0.p1
10
PORTREVISION=	1
10
CATEGORIES=	emulators kld
11
CATEGORIES=	emulators kld
11
MASTER_SITES=	http://bellard.org/qemu/ \
12
MASTER_SITES=	http://bellard.org/qemu/ \
12
		http://qemu.org/ \
13
		http://qemu.org/ \
(-)files/patch-unit2minorfix (+16 lines)
Added Link Here
1
--- kqemu-freebsd.c.orig	2009-02-12 03:45:30.607773000 -0600
2
+++ kqemu-freebsd.c	2009-02-12 03:50:10.019986534 -0600
3
@@ -381,7 +381,12 @@
4
 
5
     r = clone_create(&kqemuclones, &kqemu_cdevsw, &unit, dev, 0);
6
     if (r) {
7
-	*dev = make_dev(&kqemu_cdevsw, unit2minor(unit),
8
+	*dev = make_dev(&kqemu_cdevsw,
9
+#if __FreeBSD_version < 800062
10
+	    unit2minor(unit),
11
+#else /* __FreeBSD_version >= 800062 */
12
+	    unit,
13
+#endif /* __FreeBSD_version < 800062 */
14
 	    UID_ROOT, GID_WHEEL, 0660, "kqemu%d", unit);
15
 	if (*dev != NULL) {
16
 	    dev_ref(*dev);

Return to bug 131603