aboutsummaryrefslogtreecommitdiff
path: root/devel/gmake381
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2002-10-25 14:31:18 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2002-10-25 14:31:18 +0000
commit3266ee3cdbf4262db49fdecd344e83843564dd09 (patch)
tree14ce21b2a5cc29f45a8b441e9f9e51277ddc8401 /devel/gmake381
parentef197c23a4e385b09f1ae7f1946e27e355827b0b (diff)
downloadports-3266ee3cdbf4262db49fdecd344e83843564dd09.tar.gz
ports-3266ee3cdbf4262db49fdecd344e83843564dd09.zip
Notes
Diffstat (limited to 'devel/gmake381')
-rw-r--r--devel/gmake381/files/patch-glob.c19
-rw-r--r--devel/gmake381/files/patch-make.h12
2 files changed, 31 insertions, 0 deletions
diff --git a/devel/gmake381/files/patch-glob.c b/devel/gmake381/files/patch-glob.c
new file mode 100644
index 000000000000..3c67554921b6
--- /dev/null
+++ b/devel/gmake381/files/patch-glob.c
@@ -0,0 +1,19 @@
+--- glob/glob.c.orig Wed Sep 25 03:11:43 2002
++++ glob/glob.c Wed Sep 25 03:15:32 2002
+@@ -215,13 +215,13 @@
+ # 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. */
+
+
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
+