From owner-freebsd-ports@FreeBSD.ORG Wed Oct 30 05:52:59 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3D9EF113; Wed, 30 Oct 2013 05:52:59 +0000 (UTC) (envelope-from Cy.Schubert@komquats.com) Received: from smtp-out-01.shaw.ca (smtp-out-01.shaw.ca [64.59.136.137]) by mx1.freebsd.org (Postfix) with ESMTP id DD86825AA; Wed, 30 Oct 2013 05:52:58 +0000 (UTC) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=OwXf4AQYS7J10u4+/2kpCX1VHJ+qeA/E1g375LKBsDQ= c=1 sm=1 a=nG2sYfqMFioA:10 a=QrugwKR0C_UA:10 a=wAGQQ9Az6v0A:10 a=BLceEmwcHowA:10 a=ICAaq7hcmGcA:10 a=8nJEP1OIZ-IA:10 a=IbtKDeXwb2+SRU442/pi3A==:17 a=VxmjJ2MpAAAA:8 a=6I5d2MoRAAAA:8 a=NMM7OKYrAAAA:8 a=BWvPGDcYAAAA:8 a=5SnE3YoNTyB57aj1XU4A:9 a=wPNLvfGTeEIA:10 a=tfbXepPFHE8A:10 a=SV7veod9ZcQA:10 a=V7tsTZBp22UA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO spqr.komquats.com) ([96.50.7.119]) by smtp-out-01.shaw.ca with ESMTP; 29 Oct 2013 23:52:57 -0600 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id D2A83E7; Tue, 29 Oct 2013 22:52:56 -0700 (PDT) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.14.7/8.14.7) with ESMTP id r9U5qtck027873; Tue, 29 Oct 2013 22:52:55 -0700 (PDT) (envelope-from Cy.Schubert@komquats.com) Message-Id: <201310300552.r9U5qtck027873@slippy.cwsent.com> X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.5 From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.komquats.com/ To: Cy Schubert Subject: Re: net/vnc r327755 does not build in /head In-Reply-To: Message from Cy Schubert of "Tue, 29 Oct 2013 15:30:22 -0700." <201310292230.r9TMUMfS017516@slippy.cwsent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Tue, 29 Oct 2013 22:52:55 -0700 Cc: Matthias Apitz , freebsd-ports@freebsd.org, cy@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Cy Schubert List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Oct 2013 05:52:59 -0000 In message <201310292230.r9TMUMfS017516=40slippy.cwsent.com>, Cy Schubert= =20 writes: > In message <20131029212647.GA1211=40tiny-r255948>, Matthias Apitz write= s: > > El d=EDa Tuesday, October 29, 2013 a las 07:52:14AM -0700, Cy Schuber= t escribi=F3 > : > >=20 > > > In message <20131029084836.GA19333=40sh4-5.1blu.de>, Matthias Apitz= writes: > > > >=20 > > > > Hello, > > > >=20 > > > > The vnc client only build in /head (anyway if with clang or gcc46= ) if > > > > one adds an=20 > > > >=20 > > > > =23include to the following three files: > > > >=20 > > > > ./work/vnc-4_1_3-unixsrc/common/network/TcpSocket.cxx > > > > ./work/vnc-4_1_3-unixsrc/unix/tx/TXImage.cxx > > > > ./work/vnc-4_1_3-unixsrc/unix/x0vncserver/Image.cxx > > > >=20 > > > > The server part stops building in: > > > >=20 > > > > ... > > > > cc -c -O -I../../include -I../../imports/x11/include/X11 =60./cc= imake=60 i > ma > > ke.c > > > > cc -o imake -O -I../../include -I../../imports/x11/include/X11 i= make.o > > > > rm -f ./config/makedepend/Makefile.proto > > > > ./config/imake/imake -I./config/cf -s ./config/makedepend/Makefi= le.pro > to > > -f=20 > > > > ./config/makedepend/Imakefile -DTOPDIR=3D../.. -DCURDIR=3D./confi= g/makedepe > nd > > > > objformat: not found > > > > In file included from Imakefile.c:16: > > > > In file included from ./config/cf/Imake.tmpl:104: > > > > ./config/cf/FreeBSD.cf:477:35: error: '=23' is not followed by a = macro pa > ra > > mete > > > > r > > >=20 > > > I haven't looked at it completely but it appears vnc needs a few pa= tches=20 > to > > =20 > > > add includes for stdlib.h. It's on my plate of things to do. > >=20 > > The missing includes for stdlib.h is an easy one, but the imake probl= em is > > more complex; see also our exchange in June: > >=20 > > Date: Fri, 7 Jun 2013 10:57:30 +0200 > > To: Niclas Zeising , freebsd-ports=40freebsd= .org, cy=40f > re > > ebsd.org > > Subject: Re: ports && 10-CURRENT > > Message-ID: <20130607085730.GA8414=40sh4-5.1blu.de> > > References: <20130525185649.GA932=40tiny.Sisis.de> <51A11350.805070= 0=40freebs > d. > > org> <20130526155022.GA2665=40sh4-5.1blu.de> >=20 > I'm aware of that one too. In time it will be fixed. Patches are always= =20 > welcome though. As a user of vnc I too am impacted by this but one thin= g at=20 > a time. It appears the the clang cpp re-evaluates expressions which is not=20 compatible with other cpp's. A workaround and possibly permanent solution is to set the IMAKECPP=20 environment variable to one of the gcc cpp's. Unfortunately tradcpp nor=20 mcpp work though any of the gcc cpp's does. We don't need gcc, just its=20 cpp. Unfortunately dragging in a gcc is a bit of overkill but I don't see= =20 any way around this. --=20 Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org