diff options
author | marcel <marcel@FreeBSD.org> | 2001-12-06 05:09:21 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2001-12-06 05:09:21 +0000 |
commit | a33522a041f01585943d28799f8a3b812fe5db61 (patch) | |
tree | 1889ef435cd53ba41c4335b2bdab6739a8a0c010 /emulators/vmware3/files | |
parent | db99e1a84af1ad773c854ca5e61373bdf16946a0 (diff) | |
download | FreeBSD-ports-a33522a041f01585943d28799f8a3b812fe5db61.zip FreeBSD-ports-a33522a041f01585943d28799f8a3b812fe5db61.tar.gz |
Fix -current breakage caused by a type change of pt_entry_t.
Note that the OSVERSION test is inexact. The type change
happened after 500027, but since there's no 500028 yet and
making one specifically for this port is considered overkill
we hope to get away with it.
Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp>
Approved by: Vladimir N. Silyaev <vsilyaev@mindspring.com>
Coordinated by: Mark Santcroos <marks@ripe.net> :-)
Diffstat (limited to 'emulators/vmware3/files')
-rw-r--r-- | emulators/vmware3/files/pmap.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/vmware3/files/pmap.patch b/emulators/vmware3/files/pmap.patch new file mode 100644 index 0000000..2a914e4 --- /dev/null +++ b/emulators/vmware3/files/pmap.patch @@ -0,0 +1,11 @@ +--- vmmon-only/freebsd/hostif.c.orig Tue Dec 4 20:49:08 2001 ++++ vmmon-only/freebsd/hostif.c Tue Dec 4 20:49:44 2001 +@@ -170,7 +170,7 @@ + { + #define DEB(x) + caddr_t addr = (caddr_t)VPN_2_VA(ppn); +- pt_entry_t pteptr = (pt_entry_t)vtopte(addr); ++ pt_entry_t *pteptr = vtopte(addr); + PTE pte; + + DEB(printf("FindMPN: for page %d address %p(phys %p) pteptr %p", ppn, addr, (caddr_t)vtophys(addr), pteptr)); |