From owner-freebsd-ports@FreeBSD.ORG Sat Sep 23 16:22:20 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53CD416A407 for ; Sat, 23 Sep 2006 16:22:20 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id B56F943D46 for ; Sat, 23 Sep 2006 16:22:17 +0000 (GMT) (envelope-from stas@FreeBSD.org) Received: from [213.87.86.54] (helo=fonon.realnet) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1GRAGA-0007BY-Ud; Sat, 23 Sep 2006 20:21:48 +0400 Received: from localhost (localhost [127.0.0.1]) by fonon.realnet (Postfix) with ESMTP id 44E8A11B3E; Sat, 23 Sep 2006 20:21:22 +0400 (MSD) Date: Sat, 23 Sep 2006 20:21:21 +0400 From: Stanislav Sedov To: Rainer Alves Message-ID: <20060923202121.6da03730@localhost> In-Reply-To: <45146712.1050402@gmail.com> References: <20060922211055.E8B584506A@ptavv.es.net> <45146712.1050402@gmail.com> Organization: The FreeBSD Project X-Operating-System: FreeBSD X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_Pb10jApYXwZJwuq/SXWcczM"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.6.0 X-Mailman-Approved-At: Sat, 23 Sep 2006 16:36:18 +0000 Cc: ports@freebsd.org, Kevin Oberman Subject: Re: avifile will not compile on -current X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Sep 2006 16:22:20 -0000 --Sig_Pb10jApYXwZJwuq/SXWcczM Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On Fri, 22 Sep 2006 19:43:30 -0300 Rainer Alves mentioned: > Kevin Oberman wrote: > > avifile has not built on current since the update of gcc to the latest > > 3.4.6 fixes back on Aug. 25. >=20 > It also doesn't compile here, for 2 reasons: > 1) since `pcvt` was removed from CURRENT around May or so, avifile no=20 > longer finds the header "pcvt_ioctl.h" and the build breaks here: >=20 > cc -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/local/include=20 > -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -Wall -Wno-unused=20 > -I../../include -O2 -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE=20 > -D_FILE_OFFSET_BITS=3D64 -pipe -c ports.c -fPIC -DPIC -o .libs/ports.o > In file included from ports.c:73: > sysdep/pci_freebsd.c:11:32: machine/pcvt_ioctl.h: No such file or directo= ry >=20 > The fix is trivial: the replacement of "machine/pcvt_ioctl.h" by=20 > "sys/kbio.h" (which also contains KDENABIO from the defunct pcvt). >=20 >=20 > 2) As for the error you pointed out, here is a quick patch which fixes=20 > things for me: >=20 > --- ReadFile.cpp.orig Fri Sep 22 19:40:20 2006 > +++ ReadFile.cpp Fri Sep 22 19:41:19 2006 > @@ -8,7 +8,7 @@ >=20 > AVM_BEGIN_NAMESPACE; >=20 > -avm::IReadFile::~IReadFile() {} > +IReadFile::~IReadFile() {} >=20 > class ReadFile: public IReadFile > { > @@ -125,7 +125,7 @@ > }; >=20 >=20 > -avm::IReadFile* avm::CreateReadFile(const char* name, unsigned int flags) > +IReadFile* CreateReadFile(const char* name, unsigned int flags) > { > ReadFile* r =3D new ReadFile(name, flags); > return r; >=20 >=20 Committed. Thanks for a patch. --=20 Stanislav Sedov [[=F2=CF=D3=D3=C9= =D1, =ED=CF=D3=CB=D7=C1]] PGP id: 0xEB269581 http://people.freebsd.org/~stas/stas.key.asc --Sig_Pb10jApYXwZJwuq/SXWcczM Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFFV8BK/VZk+smlYERAraIAJ9D+eb6LURxBIru0UvgryQDx/WlwwCfcSXV SNstdkUoTlsmKWJZOD5ILGo= =S/P8 -----END PGP SIGNATURE----- --Sig_Pb10jApYXwZJwuq/SXWcczM--