[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GNU make 3.80 build failure on FreeBSD 5
From: |
Gerald Pfeifer |
Subject: |
GNU make 3.80 build failure on FreeBSD 5 |
Date: |
Tue, 28 Jan 2003 11:40:57 +0100 (CET) |
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
<address@hidden> 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 (address@hidden/address@hidden)
--- 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
- GNU make 3.80 build failure on FreeBSD 5,
Gerald Pfeifer <=