From owner-freebsd-emulation@FreeBSD.ORG Mon Sep 29 13:20:54 2003 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EF6216A4B3; Mon, 29 Sep 2003 13:20:54 -0700 (PDT) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AF7A44008; Mon, 29 Sep 2003 13:20:52 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from mail by mx.nsu.ru with drweb-scanned (Exim 3.35 #1 (Debian)) id 1A44WG-0001FL-00; Tue, 30 Sep 2003 03:21:20 +0700 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mx.nsu.ru with esmtp (Exim 3.35 #1 (Debian)) id 1A44WF-0001EV-00; Tue, 30 Sep 2003 03:21:19 +0700 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.8p2/8.12.8) with ESMTP id h8TKK4Y6097819; Tue, 30 Sep 2003 03:20:04 +0700 (NSS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.8p2/8.12.8/Submit) id h8TKK3h0097818; Tue, 30 Sep 2003 03:20:03 +0700 (NSS) (envelope-from fjoe) Date: Tue, 30 Sep 2003 03:20:03 +0700 From: Max Khon To: "Brandon S. Allbery KF8NH" Message-ID: <20030929202003.GB94995@iclub.nsu.ru> References: <3F77EAE3.1060506@aeefyu.net> <1064823907.9010.1.camel@pyanfar.ece.cmu.edu> <20030929195805.GA94995@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="UHN/qo2QbUvPLonB" Content-Disposition: inline In-Reply-To: <20030929195805.GA94995@iclub.nsu.ru> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on iclub.nsu.ru X-Envelope-To: allbery@ece.cmu.edu, afu-subscribed-list@aeefyu.net, freebsd-emulation@freebsd.org, freebsd-stable@freebsd.org cc: Aeefyu cc: freebsd-emulation@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: Failure to build (ports) vmware2 in 4-9-PRERELEASE X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2003 20:20:54 -0000 --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello! On Tue, Sep 30, 2003 at 02:58:05AM +0700, Max Khon wrote: > > > I got the following errors in re-building emulators/vmware2. (need to > > > change the netgraph bridging interface) > > > Anyone experiencing the similar symptoms? > > > > The PAE import broke vmware2; no ETA on a fix that I've heard. I > > suggest sticking with RELENG_4_8. > > Attached patch works for me. > (run "patch I would like to commit it after maintainer approval. Oops, parenthesis confuse arithmetic expression parser in 4.8-RELEASE and earlier. Corrected patch (without parenthesis) is attached. /fjoe --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="Makefile.diff" Index: Makefile =================================================================== RCS file: /home/pcvs/ports/emulators/vmware2/Makefile,v retrieving revision 1.56 diff -u -p -r1.56 Makefile --- Makefile 24 Sep 2003 00:59:22 -0000 1.56 +++ Makefile 29 Sep 2003 20:08:48 -0000 @@ -98,7 +98,7 @@ post-patch: .if ${OSVERSION} >= 500023 ${CAT} ${FILESDIR}/kse.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1 .endif -.if ${OSVERSION} >= 500027 +.if ${OSVERSION} >= 500027 || ${OSVERSION} < 500000 && ${OSVERSION} >= 480102 ${CAT} ${FILESDIR}/pmap.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1 .endif ${CP} ${FILESDIR}/Makefile ${WRKSRC} @@ -129,8 +129,10 @@ post-patch: .if ${OSVERSION} >= 500104 ${CAT} ${FILESDIR}/cdevsw.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1 .endif -.if ${OSVERSION} >= 500109 +.if ${OSVERSION} >= 500109 || ${OSVERSION} < 500000 && ${OSVERSION} >= 480102 ${CAT} ${FILESDIR}/hostif_c.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1 +.endif +.if ${OSVERSION} >= 500109 ${CAT} ${FILESDIR}/vm_types_h.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1 .endif ${CAT} ${FILESDIR}/vmnet-only+Makefile.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1 --UHN/qo2QbUvPLonB--