From owner-ports-jp@jp.freebsd.org  Thu Sep 14 15:58:17 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id PAA00675;
	Thu, 14 Sep 2000 15:58:17 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from ms.tokyo.jcom.ne.jp (ms.tokyo.jcom.ne.jp [210.234.123.18])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id PAA00668
	for <ports-jp@jp.freebsd.org>; Thu, 14 Sep 2000 15:58:16 +0900 (JST)
	(envelope-from knu@idaemons.org)
Received: from daemon.local.idaemons.org (203-165-77-17.sugnm1.kt.home.ne.jp [203.165.77.17])
	by ms.tokyo.jcom.ne.jp (8.9.3/3.7W 04/27/00) with ESMTP id PAA15758;
	Thu, 14 Sep 2000 15:57:45 +0900 (JST)
Received: by daemon.local.idaemons.org (8.9.3/3.7W) id PAA38357; Thu, 14 Sep 2000 15:56:46 +0900 (JST)
Date: Thu, 14 Sep 2000 15:56:45 +0900
Message-ID: <86d7i7a2c2.wl@archon.local.idaemons.org>
From: "Akinori -Aki- MUSHA" <knu@idaemons.org>
To: Jun Kuriyama <kuriyama@imgsrc.co.jp>
Cc: Japanese Ports Team <ports-jp@jp.freebsd.org>
In-Reply-To: In your message of "Thu, 14 Sep 2000 12:22:36 +0900"
	<7mem2nfyir.wl@waterblue.imgsrc.co.jp>
References: <7mem2nfyir.wl@waterblue.imgsrc.co.jp>
User-Agent: Wanderlust/2.3.0 (Roam) EMIKO/1.13.12 (Euglena sociabilis) FLIM/1.13.2 (Kasanui) APEL/10.2 MULE XEmacs/21.1 (patch 12) (Channel Islands) (i386--freebsd)
Organization: Associated I. Daemons
X-PGP-Public-Key: finger knu@FreeBSD.org
X-PGP-Fingerprint: 081D 099C 1705 861D 4B70  B04A 920B EFC7 9FD9 E1EE
X-PGP-Comment: I changed my key on 2000-08-10
MIME-Version: 1.0 (generated by EMIKO 1.13.12 - "Euglena sociabilis")
Content-Type: text/plain; charset=ISO-2022-JP
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: ports-jp 10061
Subject: [ports-jp 10061] Re: emulators/vmware2 on current
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: knu@idaemons.org

At Thu, 14 Sep 2000 12:22:36 +0900,
Jun Kuriyama wrote:
> $B!!:rF|$NCJ3,$N(B -current $B$G!"(Bemulators/vmware2 $B$r(B build $B$7$h$&$H$7$?$i!"(B
> SMPng $B$N(B commit $B$N$;$$$+!"(B#include <i386/isa/intr_machdep.h> $B<~JU$G(B
> build failed $B$7$F$7$^$$$^$9(B(SMP$B4D6-(B)$B!#(B
> $B!!$I$J$+$?2r7hJ}K!$r$4B8$8$G$7$g$&$+!)(B

$B!!$A$g$C$H$$$$2C8:$J=$@5$G$9$,!"0J2<$N$h$&$J46$8$G$I$&$G$7$g$&$+!#(B
$B:#!"(B 4-STABLE $B$G$OF0$/$N$@$m$&$+!#!#!)(B

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/emulators/vmware2/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- Makefile	2000/08/24 15:01:44	1.22
+++ Makefile	2000/09/10 15:56:05
@@ -8,6 +8,7 @@
 
 PORTNAME=	vmware2
 PORTVERSION=	2.0.2.621
+PORTREVISION=	1
 CATEGORIES=	emulators linux
 MASTER_SITES=	http://www4.vmware.com/software/ \
 		http://vmware-svca.www.conxion.com/software/ \
@@ -48,7 +49,7 @@
 BROKEN=		"Systems prior to 400013 is out of support"
 .endif
 
-.if !defined(HAVE_LINPROCFS) && !exists(/modules/linprocfs.ko) && !exists(${PREFIX}/modules/linprocfs.ko)
+.if !defined(HAVE_LINPROCFS) && !exists(/modules/linprocfs.ko) && !exists(/boot/kernel/linprocfs.ko) && !exists(${PREFIX}/modules/linprocfs.ko)
 BROKEN=		"This software absolutely requires Linux procfs support"
 .endif
 
Index: patches/patch-bc
===================================================================
RCS file: patch-bc
diff -N patch-bc
--- /dev/null	Thu Sep 14 14:49:38 2000
+++ patch-bc	Mon Sep 11 00:34:40 2000
@@ -0,0 +1,11 @@
+--- vmnet-only/freebsd/vmnet.c.orig	Mon Jul 31 08:36:25 2000
++++ vmnet-only/freebsd/vmnet.c	Mon Sep 11 00:34:08 2000
+@@ -164,7 +164,7 @@
+ 
+ 	s = splimp();
+ 	if_attach(ifp);
+-	ether_ifattach(ifp);
++	ether_ifattach(ifp, 0);
+ 	bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
+ 	splx(s);
+ 	
Index: patches/patch-bd
===================================================================
RCS file: patch-bd
diff -N patch-bd
--- /dev/null	Thu Sep 14 14:49:38 2000
+++ patch-bd	Thu Sep 14 14:06:48 2000
@@ -0,0 +1,25 @@
+--- vmmon-only/freebsd/driver.c.orig	Thu Jun 29 21:06:18 2000
++++ vmmon-only/freebsd/driver.c	Thu Sep 14 14:03:42 2000
+@@ -73,6 +73,22 @@
+ #include "private.h"
+ #endif
+ 
++#if __FreeBSD_version >= 500013
++enum intr_type {
++    INTR_TYPE_TTY = 1,
++    INTR_TYPE_BIO = 2,
++    INTR_TYPE_NET = 4,
++    INTR_TYPE_CAM = 8,
++    INTR_TYPE_MISC = 16,
++    INTR_HEAVY = 32,			/* heavyweight interrupt process */
++    INTR_LIGHT = 64,			/* light weight interrupt thread */
++    INTR_THREADED = INTR_LIGHT | INTR_HEAVY, /* any kind of interrupt thread */
++    INTR_FAST = 128,
++    INTR_EXCL =	256,			/* exclusive interrupt */
++    INTR_MPSAFE = 512			/* this interrupt is SMP safe */
++};
++#endif
++
+ #ifdef SUPPORT_PASSTHROUGH
+ #include "passthrough.h"	// _driver_ version of passthrough.h 
+ #endif


-- 
                           /
                          /__  __       
                         / )  )  ) )  /
Akinori -Aki- MUSHA aka / (_ /  ( (__(  @ idaemons.org / FreeBSD.org

"We're only at home when we're on the run, on the wing, on the fly"
