From owner-freebsd-multimedia@FreeBSD.ORG Thu Mar 3 09:30:12 2011 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 819D0106566B for ; Thu, 3 Mar 2011 09:30:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 550C58FC17 for ; Thu, 3 Mar 2011 09:30:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p239UCJ2064191 for ; Thu, 3 Mar 2011 09:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p239UCpT064188; Thu, 3 Mar 2011 09:30:12 GMT (envelope-from gnats) Date: Thu, 3 Mar 2011 09:30:12 GMT Message-Id: <201103030930.p239UCpT064188@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: =?iso-2022-jp?B?VHN1eW9zaGkgTU9NT1NFIC8gGyRCJGIkYiQ7JEQkaCQ3GyhC?= Cc: Subject: Re: ports/150502: multimedia/gpac-libgpac 0.4.5_4, 1 fails to compile on 7.3-STABLE X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?iso-2022-jp?B?VHN1eW9zaGkgTU9NT1NFIC8gGyRCJGIkYiQ7JEQkaCQ3GyhC?= List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 09:30:12 -0000 The following reply was made to PR ports/150502; it has been noted by GNATS. From: =?iso-2022-jp?B?VHN1eW9zaGkgTU9NT1NFIC8gGyRCJGIkYiQ7JEQkaCQ3GyhC?= To: bug-followup@FreeBSD.org, bppr@phoe.frmug.org Cc: =?iso-2022-jp?B?VHN1eW9zaGkgTU9NT1NFIC8gGyRCJGIkYiQ7JEQkaCQ3GyhC?= Subject: Re: ports/150502: multimedia/gpac-libgpac 0.4.5_4,1 fails to compile on 7.3-STABLE Date: Thu, 3 Mar 2011 18:28:21 +0900 I'm not the person who this PR originated. But I encountered the same problem and found a workaround. This problem occurs when its old version is already installed. The = headers of the old version are already installed at = /usr/local/include/gpac. And the headers are referred on ahead than the ports directory's ones as = specified in the command line. cc -O3 -O2 -pipe -I/usr/local/include -fno-strict-aliasing = -fno-strict-aliasing -Wno-pointer-sign = -I/usr/ports/multimedia/gpac-libgpac/work/gpac/include -I../ = -DGPAC_HAVE_CONFIG_H -c -o utils/os_net.o utils/os_net.c=20 Work around: remove the old version first. then build it. For the ports maintainer: the part of '-I/usr/local/include' should be put at the end of the line = at least behind -I/usr/ports/multimedia/gpac-libgpac/work/gpac/include . I don't have a patch for fix it yet. Thanks, -- Tsuyoshi Momose=