1 Index: glob/glob.c |
1 Index: glob/glob.c |
|
2 diff -Nau glob/glob.c.orig glob/glob.c |
2 --- glob/glob.c.orig 2006-03-10 03:20:45 +0100 |
3 --- glob/glob.c.orig 2006-03-10 03:20:45 +0100 |
3 +++ glob/glob.c 2006-04-01 19:09:18 +0200 |
4 +++ glob/glob.c 2006-04-01 19:09:18 +0200 |
4 @@ -216,13 +216,13 @@ |
5 @@ -217,13 +217,13 @@ |
5 # ifdef HAVE_ALLOCA_H |
6 # ifdef HAVE_ALLOCA_H |
6 # include <alloca.h> |
7 # include <alloca.h> |
7 # else /* Not HAVE_ALLOCA_H. */ |
8 # else /* Not HAVE_ALLOCA_H. */ |
8 -# ifndef _AIX |
9 -# ifndef _AIX |
9 +# if !defined (_AIX) && !defined (__FreeBSD__) |
10 +# if !defined (_AIX) && !defined (__FreeBSD__) |
16 +# endif /* Not _AIX && not __FreeBSD__. */ |
17 +# endif /* Not _AIX && not __FreeBSD__. */ |
17 # endif /* sparc or HAVE_ALLOCA_H. */ |
18 # endif /* sparc or HAVE_ALLOCA_H. */ |
18 # endif /* GCC. */ |
19 # endif /* GCC. */ |
19 |
20 |
20 Index: make.h |
21 Index: make.h |
|
22 diff -Nau make.h.orig make.h |
21 --- make.h.orig 2006-02-16 00:54:43 +0100 |
23 --- make.h.orig 2006-02-16 00:54:43 +0100 |
22 +++ make.h 2006-04-01 19:09:18 +0200 |
24 +++ make.h 2006-04-01 19:09:18 +0200 |
23 @@ -31,7 +31,7 @@ |
25 @@ -36,7 +36,7 @@ |
24 # ifdef _AIX |
|
25 #pragma alloca |
26 #pragma alloca |
26 # else |
27 # else |
|
28 # if !defined(__GNUC__) && !defined(WINDOWS32) |
27 -# ifndef alloca /* predefined by HP cc +Olibcalls */ |
29 -# ifndef alloca /* predefined by HP cc +Olibcalls */ |
28 +# if !defined (alloca) && !defined (__FreeBSD__) /* predefined by HP cc +Olibcalls, part of stdlib.h on FreeBSD */ |
30 +# if !defined (alloca) && !defined (__FreeBSD__) /* predefined by HP cc +Olibcalls, part of stdlib.h on FreeBSD */ |
29 char *alloca (); |
31 char *alloca (); |
30 # endif |
32 # endif |
31 # endif |
33 # endif |