1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openpkg/make.patch Tue Jan 06 23:40:39 2009 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +Index: glob/glob.c 1.5 +--- glob/glob.c.orig 2006-03-10 03:20:45 +0100 1.6 ++++ glob/glob.c 2006-04-01 19:09:18 +0200 1.7 +@@ -216,13 +216,13 @@ 1.8 + # ifdef HAVE_ALLOCA_H 1.9 + # include <alloca.h> 1.10 + # else /* Not HAVE_ALLOCA_H. */ 1.11 +-# ifndef _AIX 1.12 ++# if !defined (_AIX) && !defined (__FreeBSD__) 1.13 + # ifdef WINDOWS32 1.14 + # include <malloc.h> 1.15 + # else 1.16 + extern char *alloca (); 1.17 + # endif /* WINDOWS32 */ 1.18 +-# endif /* Not _AIX. */ 1.19 ++# endif /* Not _AIX && not __FreeBSD__. */ 1.20 + # endif /* sparc or HAVE_ALLOCA_H. */ 1.21 + # endif /* GCC. */ 1.22 + 1.23 +Index: make.h 1.24 +--- make.h.orig 2006-02-16 00:54:43 +0100 1.25 ++++ make.h 2006-04-01 19:09:18 +0200 1.26 +@@ -31,7 +31,7 @@ 1.27 + # ifdef _AIX 1.28 + #pragma alloca 1.29 + # else 1.30 +-# ifndef alloca /* predefined by HP cc +Olibcalls */ 1.31 ++# if !defined (alloca) && !defined (__FreeBSD__) /* predefined by HP cc +Olibcalls, part of stdlib.h on FreeBSD */ 1.32 + char *alloca (); 1.33 + # endif 1.34 + # endif