summaryrefslogtreecommitdiff
path: root/devel/gmake/files/patch-glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gmake/files/patch-glob.c')
-rw-r--r--devel/gmake/files/patch-glob.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/gmake/files/patch-glob.c b/devel/gmake/files/patch-glob.c
new file mode 100644
index 000000000000..3c67554921b6
--- /dev/null
+++ b/devel/gmake/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. */
+
+