From owner-freebsd-ports@FreeBSD.ORG Fri Sep 22 22:45:04 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 E2E1916A407 for ; Fri, 22 Sep 2006 22:45:04 +0000 (UTC) (envelope-from rainer.alves@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4173443D4C for ; Fri, 22 Sep 2006 22:45:04 +0000 (GMT) (envelope-from rainer.alves@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1171907wxd for ; Fri, 22 Sep 2006 15:45:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=ORtT5gQKhnsIhEF+OXPGvHtqqa07xPg2vkem7qa5G03T+85YyrnudUhFeMyzZU/8b5NGU3fWmuw/LeJB0RKKkZv9fVYlZOGNTKF+fzQdTwgxo/XS3aJkTu/OZp9lt3ivlHsitYEPmdkwK7zeCqZebFzmCTn6ha3mDZ1Grru7GcA= Received: by 10.70.32.10 with SMTP id f10mr1933377wxf; Fri, 22 Sep 2006 15:45:03 -0700 (PDT) Received: from ?10.0.0.30? ( [200.181.89.70]) by mx.gmail.com with ESMTP id h34sm3041766wxd.2006.09.22.15.45.02; Fri, 22 Sep 2006 15:45:03 -0700 (PDT) Message-ID: <45146712.1050402@gmail.com> Date: Fri, 22 Sep 2006 19:43:30 -0300 From: Rainer Alves User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.7) Gecko/20060915 Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: Kevin Oberman References: <20060922211055.E8B584506A@ptavv.es.net> In-Reply-To: <20060922211055.E8B584506A@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org 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: Fri, 22 Sep 2006 22:45:05 -0000 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. It also doesn't compile here, for 2 reasons: 1) since `pcvt` was removed from CURRENT around May or so, avifile no longer finds the header "pcvt_ioctl.h" and the build breaks here: cc -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -Wall -Wno-unused -I../../include -O2 -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 directory The fix is trivial: the replacement of "machine/pcvt_ioctl.h" by "sys/kbio.h" (which also contains KDENABIO from the defunct pcvt). 2) As for the error you pointed out, here is a quick patch which fixes things for me: --- ReadFile.cpp.orig Fri Sep 22 19:40:20 2006 +++ ReadFile.cpp Fri Sep 22 19:41:19 2006 @@ -8,7 +8,7 @@ AVM_BEGIN_NAMESPACE; -avm::IReadFile::~IReadFile() {} +IReadFile::~IReadFile() {} class ReadFile: public IReadFile { @@ -125,7 +125,7 @@ }; -avm::IReadFile* avm::CreateReadFile(const char* name, unsigned int flags) +IReadFile* CreateReadFile(const char* name, unsigned int flags) { ReadFile* r = new ReadFile(name, flags); return r; -- Rainer Alves