Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2003 17:07:40 -0800 (PST)
From:      David Yeske <dyeske@yahoo.com>
To:        ports@freebsd.org
Cc:        Mario <lioux@freebsd.org>
Subject:   /usr/include/getopt.h vs /usr/local/include/getopt.h
Message-ID:  <20030225010740.4326.qmail@web13506.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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 <getopt.h>
 #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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030225010740.4326.qmail>