From owner-freebsd-ports@FreeBSD.ORG Fri Apr 8 06:36:47 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6F89106564A for ; Fri, 8 Apr 2011 06:36:47 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 60E488FC15 for ; Fri, 8 Apr 2011 06:36:47 +0000 (UTC) Received: by qwc9 with SMTP id 9so2124780qwc.13 for ; Thu, 07 Apr 2011 23:36:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=V9Husl1NLFxmaRH34ogfQkXz0iyAxAwPHibb/lFdYYs=; b=co2FvZyZFAgcy0WU+aKN++9vVkVvkWLe+R7bGOSaTNNxOX8p0ClwHLdSjxDQPZHifN j7/JpXeXjge7DUJI/oVaMjgwuGLMZaBwyGORyhdKz7+R2wKBbEMtfKCPXufAxOvomX7L 8SK+wKVRc2o8DLkZvloWuGrBaluul16OnlX+Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=TrGV/dhD9kZjVaKNPGKt9dcrnWRyg1QwvGwV9SkM3tF7FaXCC5qzGf8hkMse1S/91I 7YZoRn1OYtDpI7AMTJ0FXtsxGaid64eg3JuFNFJBRGb5lIlCgT1QikTuxsansXIc2QQd p8q+GH5K4ccwGAFaxZV/3WBhmKI6sNuGPT7BU= MIME-Version: 1.0 Received: by 10.224.190.68 with SMTP id dh4mr1455463qab.256.1302244606575; Thu, 07 Apr 2011 23:36:46 -0700 (PDT) Received: by 10.224.6.78 with HTTP; Thu, 7 Apr 2011 23:36:46 -0700 (PDT) In-Reply-To: <20110408085555.13c044c7@tiger.minsk.domain> References: <20110408085555.13c044c7@tiger.minsk.domain> Date: Fri, 8 Apr 2011 01:36:46 -0500 Message-ID: From: Zhihao Yuan To: "Sergey V. Dyatko" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org, danfe@freebsd.org Subject: Re: graphics/simpleviewer doesn't build on head(?) 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, 08 Apr 2011 06:36:47 -0000 On Fri, Apr 8, 2011 at 12:55 AM, Sergey V. Dyatko wrote: > Hi, > > I'm trying to build graphics/simpleviewerer and got following error: > > http://tiger.ipfw.ru/files/simpleviewer.txt > > tiger# uname -a > FreeBSD tiger.minsk.domain 9.0-CURRENT FreeBSD 9.0-CURRENT #36 r220184: > Thu Mar 31 16:17:14 EEST 2011 > root@tiger.minsk.domain:/usr/obj/usr/src/sys/tiger-desktop =C2=A0i386 > I tested it on 8-STABLE, and it does not build either (with gcc>45). The port maintainer add a strange section to post-patch: @${REINPLACE_CMD} -e 's,const struct dirent,struct dirent,' \ ${WRKSRC}/src/fileslist.* Remove it, and it will works. > -- > wbr, tiger > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > --=20 Zhihao Yuan The best way to predict the future is to invent it.