From 3266ee3cdbf4262db49fdecd344e83843564dd09 Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Fri, 25 Oct 2002 14:31:18 +0000 Subject: We already have a prototype for alloca() in stdlib.h, no need to have it here too. This lets us compile gmake with stricter compilers. Submitted by: marius@alchemy.franken.de --- devel/gmake381/files/patch-make.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 devel/gmake381/files/patch-make.h (limited to 'devel/gmake381/files/patch-make.h') diff --git a/devel/gmake381/files/patch-make.h b/devel/gmake381/files/patch-make.h new file mode 100644 index 000000000000..28a63d2eb076 --- /dev/null +++ b/devel/gmake381/files/patch-make.h @@ -0,0 +1,12 @@ +--- make.h.orig Wed Sep 11 18:55:44 2002 ++++ make.h Mon Oct 21 22:05:11 2002 +@@ -33,7 +33,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 + -- cgit v1.2.3