FreeBSD Bugzilla – Attachment 93644 Details for
Bug 131603
[patch] emulators/kqemu-kmod-devel: unit2minor doesn't exist on recent 8.0-CURRENT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.27 KB, created by
Scot Hetzel
on 2009-02-12 10:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Scot Hetzel
Created:
2009-02-12 10:40:01 UTC
Size:
1.27 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/emulators/kqemu-kmod-devel/Makefile,v >retrieving revision 1.30 >diff -u -r1.30 Makefile >--- Makefile 22 Jun 2008 22:06:15 -0000 1.30 >+++ Makefile 12 Feb 2009 09:59:54 -0000 >@@ -7,6 +7,7 @@ > > PORTNAME= kqemu > PORTVERSION= 1.4.0.p1 >+PORTREVISION= 1 > CATEGORIES= emulators kld > MASTER_SITES= http://bellard.org/qemu/ \ > http://qemu.org/ \ >Index: files/patch-unit2minorfix >=================================================================== >RCS file: files/patch-unit2minorfix >diff -N files/patch-unit2minorfix >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-unit2minorfix 12 Feb 2009 09:58:56 -0000 >@@ -0,0 +1,16 @@ >+--- kqemu-freebsd.c.orig 2009-02-12 03:45:30.607773000 -0600 >++++ kqemu-freebsd.c 2009-02-12 03:50:10.019986534 -0600 >+@@ -381,7 +381,12 @@ >+ >+ r = clone_create(&kqemuclones, &kqemu_cdevsw, &unit, dev, 0); >+ if (r) { >+- *dev = make_dev(&kqemu_cdevsw, unit2minor(unit), >++ *dev = make_dev(&kqemu_cdevsw, >++#if __FreeBSD_version < 800062 >++ unit2minor(unit), >++#else /* __FreeBSD_version >= 800062 */ >++ unit, >++#endif /* __FreeBSD_version < 800062 */ >+ UID_ROOT, GID_WHEEL, 0660, "kqemu%d", unit); >+ if (*dev != NULL) { >+ dev_ref(*dev);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 131603
: 93644