net/vnc r327755 does not build in /head

Matthias Apitz guru at unixarea.de
Tue Oct 29 22:25:28 UTC 2013


El día Tuesday, October 29, 2013 a las 07:52:14AM -0700, Cy Schubert escribió:

> In message <20131029084836.GA19333 at sh4-5.1blu.de>, Matthias Apitz writes:
> > 
> > Hello,
> > 
> > The vnc client only build in /head (anyway if with clang or gcc46) if
> > one adds an 
> > 
> > #include <stdlib.h> to the following three files:
> > 
> > ./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
> > 
> > The server part stops building in:
> > 
> > ...
> > cc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
> > cc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
> > rm -f ./config/makedepend/Makefile.proto
> > ./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f 
> > ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
> > 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: '#' is not followed by a macro paramete
> > r
> 
> I haven't looked at it completely but it appears vnc needs a few patches to 
> add includes for stdlib.h. It's on my plate of things to do.

The missing includes for stdlib.h is an easy one, but the imake problem is
more complex; see also our exchange in June:

  Date: Fri, 7 Jun 2013 10:57:30 +0200
  To: Niclas Zeising <zeising at freebsd.org>, freebsd-ports at freebsd.org, cy at freebsd.org
  Subject: Re: ports && 10-CURRENT
  Message-ID: <20130607085730.GA8414 at sh4-5.1blu.de>
  References: <20130525185649.GA932 at tiny.Sisis.de> <51A11350.8050700 at freebsd.org> <20130526155022.GA2665 at sh4-5.1blu.de>

HIH

	matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz, <guru at unixarea.de>, http://www.unixarea.de/ f: +49-170-4527211
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5


More information about the freebsd-ports mailing list