GNU make 3.80 fails to build on FreeBSD 5: In file included from glob.c:282: glob.h:51: redefinition of `__size_t' /usr/include/machine/_types.h:86: `__size_t' previously declared here
This can be fixed by the patch below which Mike Barcroft <[EMAIL PROTECTED]> contributed to the FreeBSD ports collection. I would appreciate could you roll a new release of GNU make with this (or a similar) fix rather sooner than later; thanks. Gerald ([EMAIL PROTECTED][EMAIL PROTECTED]) --- glob/glob.h.orig Sat Jan 22 00:43:03 2000 +++ glob/glob.h Fri Aug 23 02:37:03 2002 @@ -47,6 +47,9 @@ /* We need `size_t' for the following definitions. */ #ifndef __size_t +#if defined __FreeBSD__ +#define __size_t size_t +#else # if defined __GNUC__ && __GNUC__ >= 2 typedef __SIZE_TYPE__ __size_t; # else @@ -59,6 +62,7 @@ */ #if !(defined __DECC && defined __SIZE_T) typedef unsigned long int __size_t; +#endif #endif # endif #else _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make