Bug 68202 - [patch] Make vmware2 compile on -current
Summary: [patch] Make vmware2 compile on -current
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-22 16:20 UTC by marc
Modified: 2005-04-15 11:20 UTC (History)
0 users

See Also:


Attachments
vmware2.patch (6.20 KB, patch)
2004-06-22 16:20 UTC, marc
no flags Details | Diff
driver_c.patch (1.71 KB, patch)
2004-06-22 16:20 UTC, marc
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description marc 2004-06-22 16:20:16 UTC
Vmware fails to compile on -current, this patch makes it compile again 
with the patch to rtc (in a separate send-pr)

Fix: see attached files for patches

	

--- vmmon-only/Makefile.FreeBSD.orig	Tue Jun 22 16:52:23 2004
+++ vmmon-only/Makefile.FreeBSD	Tue Jun 22 16:51:58 2004
@@ -57,7 +59,9 @@
 
 device:
 	rm -f /compat/linux/dev/${DEVNAME}
+.if ${OSVERSION} > 500104
 	mknod /compat/linux/dev/${DEVNAME} c ${CDEV_MAJOR} 0
+.endif
 
 
 .include <bsd.kmod.mk>
--- Makefile_FreeBSD.patch ends here ---
How-To-Repeat: try to compile vmware2 on -current
Comment 1 marc 2004-06-22 18:44:04 UTC
Forgot to mention:

Based on an earlier patch by Ian Dowse <iedowse@maths.tcd.ie>.

Regards,
Marc.
Comment 2 marc 2004-06-24 08:34:45 UTC
One more thing, my instructions seem to be too sparse:

There are three files in this send-pr:

1. vmware2.patch
  This patches the files that are there in the CVS repository:
  > cd /usr/ports/emulators/vmware2
  > patch < vmware2.patch
2. Makefile_FreeBSD.patch
  New file, put this in the files directory
3. driver_c.patch
  New file, put this in the files directory

Now type 'make install clean' and it should work.

Regards,
Marc.
Comment 3 Volker Stolz freebsd_committer freebsd_triage 2004-06-30 08:50:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->emulation

Over to Emulators.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2004-07-03 14:50:06 UTC
State Changed
From-To: open->feedback

To the maintainer: do you approve or disapprove of these changes? 

To the submitter: please be sure to Cc: the maintainer when 
submitting PRs, it helps PRs to not get lost.
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2004-07-06 04:08:45 UTC
State Changed
From-To: feedback->open

Feedback received. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68202 

Adding to audit trail from personal email:

Comment 6 Florent Thoumie freebsd_committer freebsd_triage 2005-04-15 11:20:27 UTC
State Changed
From-To: open->closed

Committed, thanks!