diff options
Diffstat (limited to 'devel/gmake/patches/patch-ac')
-rw-r--r-- | devel/gmake/patches/patch-ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/gmake/patches/patch-ac b/devel/gmake/patches/patch-ac new file mode 100644 index 00000000000..c229e125a25 --- /dev/null +++ b/devel/gmake/patches/patch-ac @@ -0,0 +1,20 @@ +$NetBSD: patch-ac,v 1.4 2003/02/21 12:40:55 grant Exp $ + +--- glob/glob.c.orig Sat Jan 22 16:43:03 2000 ++++ glob/glob.c +@@ -215,13 +215,13 @@ my_realloc (p, n) + # ifdef HAVE_ALLOCA_H + # include <alloca.h> + # else /* Not HAVE_ALLOCA_H. */ +-# ifndef _AIX ++# if !defined (_AIX) && !defined (__FreeBSD__) + # ifdef WINDOWS32 + # include <malloc.h> + # else + extern char *alloca (); + # endif /* WINDOWS32 */ +-# endif /* Not _AIX. */ ++# endif /* Not _AIX && not __FreeBSD__. */ + # endif /* sparc or HAVE_ALLOCA_H. */ + # endif /* GCC. */ + |