From owner-freebsd-ports Tue Dec 3 7:18:53 2002 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 E654537B401 for ; Tue, 3 Dec 2002 07:18:51 -0800 (PST) Received: from heaven.gigo.com (heaven.gigo.com [64.57.102.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BED143E9C for ; Tue, 3 Dec 2002 07:18:51 -0800 (PST) (envelope-from lioux@brturbo.com) Received: from 200-193-225-060-bsace7003.dsl.telebrasilia.net.br (200-193-225-060-bsace7003.dsl.telebrasilia.net.br [200.193.225.60]) by heaven.gigo.com (Postfix) with ESMTP id A7D3EB8B7 for ; Tue, 3 Dec 2002 07:18:50 -0800 (PST) Received: (qmail 21478 invoked by uid 1001); 3 Dec 2002 14:49:09 -0000 Message-ID: <20021203144909.21477.qmail@exxodus.fedaykin.here> Date: Tue, 3 Dec 2002 12:48:47 -0200 From: Mario Sergio Fujikawa Ferreira To: Christian Weisgerber Cc: FreeBSD-ports@FreeBSD.org Subject: Re: devel/libgnugetopt problem on -CURRENT References: <20021129163134.GA54844@kemoauc.mips.inka.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021129163134.GA54844@kemoauc.mips.inka.de> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.7-STABLE X-Disclaimer: I hope you find what you are looking for... in life :) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Nov 29, 2002 at 05:31:12PM +0100, Christian Weisgerber wrote: > libgnugetopt installs a getopt.h header file that contains a > declaration for getopt() that conflicts with the one in . > This breaks a number of ports (all that use libgnugetopt?) on > -CURRENT. Here's an example: > > http://bento.freebsd.org/errorlogs/5-latest/aria-0.10.2.t5_1.log > > A workaround is to define HAVE_DECL_GETOPT. However, rather than > adding this to all affected ports, maybe the getopt.h header file > should be fixed? This is a standing issue. I've already contacted kris to see if he has an idea on a fix. For instance, in -STABLE, libgnugetopt has to work as it is. In -CURRENT, more or less. The -CURRENT getopt.h is not exactly the same as libgnugetopt's one. Therefore, we could try checking if the ports would build if libgnugetopt was installed as an empty port in -CURRENT. However, I've got some ports (e.g., mpeg4ip) that break -CURRENT if libgnugetopt is not present. Not an easy fix. Anyone? Ideas? -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." Computer Science Undergraduate | FreeBSD Committer | CS Developer flames to beloved devnull@someotherworldbeloworabove.org feature, n: a documented bug | bug, n: an undocumented feature To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message