From owner-freebsd-ports Mon Feb 24 17: 7:42 2003 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 8DF1D37B406 for ; Mon, 24 Feb 2003 17:07:41 -0800 (PST) Received: from web13506.mail.yahoo.com (web13506.mail.yahoo.com [216.136.175.85]) by mx1.FreeBSD.org (Postfix) with SMTP id E6ED243FA3 for ; Mon, 24 Feb 2003 17:07:40 -0800 (PST) (envelope-from dyeske@yahoo.com) Message-ID: <20030225010740.4326.qmail@web13506.mail.yahoo.com> Received: from [24.196.239.120] by web13506.mail.yahoo.com via HTTP; Mon, 24 Feb 2003 17:07:40 PST Date: Mon, 24 Feb 2003 17:07:40 -0800 (PST) From: David Yeske Subject: /usr/include/getopt.h vs /usr/local/include/getopt.h To: ports@freebsd.org Cc: Mario MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Some ports have problems dealing with the getopt.h in the base system of FreeBSD current. multimedia/mpeg4ip has an issue like this. This patch makes it compile and work, but I'm not sure if it is the best solution. --- include/mpeg4ip_getopt.h.orig Tue Oct 15 13:12:27 2002 +++ include/mpeg4ip_getopt.h Mon Feb 24 05:23:50 2003 @@ -11,6 +11,9 @@ #endif #ifdef HAVE_GETOPT_H +#ifdef __FreeBSD__ +#define __GNU_LIBRARY__ +#endif #include #endif __GNU_LIBRARY__ appears to be a workaround for these types of issues. If anyone can test this it would be helpful. If anyone can point out ports that break on getopt related issues on current but not on stable please let me know. Regards, David Yeske __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message