diff -r 333964c621f1 -r cb59d6afeb61 openpkg/make.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openpkg/make.patch Tue Jan 06 23:40:39 2009 +0100 @@ -0,0 +1,31 @@ +Index: glob/glob.c +--- glob/glob.c.orig 2006-03-10 03:20:45 +0100 ++++ glob/glob.c 2006-04-01 19:09:18 +0200 +@@ -216,13 +216,13 @@ + # ifdef HAVE_ALLOCA_H + # include + # else /* Not HAVE_ALLOCA_H. */ +-# ifndef _AIX ++# if !defined (_AIX) && !defined (__FreeBSD__) + # ifdef WINDOWS32 + # include + # else + extern char *alloca (); + # endif /* WINDOWS32 */ +-# endif /* Not _AIX. */ ++# endif /* Not _AIX && not __FreeBSD__. */ + # endif /* sparc or HAVE_ALLOCA_H. */ + # endif /* GCC. */ + +Index: make.h +--- make.h.orig 2006-02-16 00:54:43 +0100 ++++ make.h 2006-04-01 19:09:18 +0200 +@@ -31,7 +31,7 @@ + # ifdef _AIX + #pragma alloca + # else +-# ifndef alloca /* predefined by HP cc +Olibcalls */ ++# if !defined (alloca) && !defined (__FreeBSD__) /* predefined by HP cc +Olibcalls, part of stdlib.h on FreeBSD */ + char *alloca (); + # endif + # endif