diff options
author | Alexander Langer <alex@FreeBSD.org> | 2003-03-23 15:01:23 +0000 |
---|---|---|
committer | Alexander Langer <alex@FreeBSD.org> | 2003-03-23 15:01:23 +0000 |
commit | 4322c88339da3c826e02b68f43f5db45293c7074 (patch) | |
tree | 15cda2e2596aed418718edb09066928e197424e9 /emulators/vmware2/Makefile | |
parent | follow a recent specification update of 2ch.net. (diff) |
Fix for -CURRENT with the recent struct cdevsw changes and
cdevsw_add()/remove() removal.
This outputs a
WARNING: driver "vmmon" used unreserved major device number 200
message, but as the vmware application really requires to use a major
of 200 (error otherwise, tested), we need to use a fixed one, and I
don't want to register a major for this.
Diffstat (limited to 'emulators/vmware2/Makefile')
-rw-r--r-- | emulators/vmware2/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile index c2aa01a35e12..0c5857c5603b 100644 --- a/emulators/vmware2/Makefile +++ b/emulators/vmware2/Makefile @@ -118,6 +118,9 @@ post-patch: cat ${FILESDIR}/filedesc.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1 cat ${FILESDIR}/m_waitok.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1 .endif +.if ${OSVERSION} >= 500104 + cat ${FILESDIR}/devfs.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1 +.endif setoptions: ${SED} -e 's;@@PREFIX@@;${PREFIX};' \ |