Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2003 03:20:03 +0700
From:      Max Khon <fjoe@iclub.nsu.ru>
To:        "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Failure to build (ports) vmware2 in 4-9-PRERELEASE
Message-ID:  <20030929202003.GB94995@iclub.nsu.ru>
In-Reply-To: <20030929195805.GA94995@iclub.nsu.ru>
References:  <3F77EAE3.1060506@aeefyu.net> <1064823907.9010.1.camel@pyanfar.ece.cmu.edu> <20030929195805.GA94995@iclub.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <Makefile.diff" in ports/emulators/vmware2).
> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030929202003.GB94995>