openpkg/make.patch

changeset 733
0db5307f7f51
parent 250
bda4f5eec616
equal deleted inserted replaced
1:b565c637faf9 2:efbde0bb720e
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 2009-09-28 08:46:03.000000000 +0200
3 --- glob/glob.c.orig 2006-03-10 03:20:45 +0100 3 +++ glob/glob.c 2010-07-29 14:25:40.000000000 +0200
4 +++ glob/glob.c 2006-04-01 19:09:18 +0200
5 @@ -217,13 +217,13 @@ 4 @@ -217,13 +217,13 @@
6 # ifdef HAVE_ALLOCA_H 5 # ifdef HAVE_ALLOCA_H
7 # include <alloca.h> 6 # include <alloca.h>
8 # else /* Not HAVE_ALLOCA_H. */ 7 # else /* Not HAVE_ALLOCA_H. */
9 -# ifndef _AIX 8 -# ifndef _AIX
17 +# endif /* Not _AIX && not __FreeBSD__. */ 16 +# endif /* Not _AIX && not __FreeBSD__. */
18 # endif /* sparc or HAVE_ALLOCA_H. */ 17 # endif /* sparc or HAVE_ALLOCA_H. */
19 # endif /* GCC. */ 18 # endif /* GCC. */
20 19
21 Index: make.h 20 Index: make.h
22 diff -Nau make.h.orig make.h 21 --- make.h.orig 2010-07-20 15:12:06.000000000 +0200
23 --- make.h.orig 2006-02-16 00:54:43 +0100 22 +++ make.h 2010-07-29 14:27:20.000000000 +0200
24 +++ make.h 2006-04-01 19:09:18 +0200
25 @@ -36,7 +36,7 @@ 23 @@ -36,7 +36,7 @@
26 #pragma alloca 24 #pragma alloca
27 # else 25 # else
28 # if !defined(__GNUC__) && !defined(WINDOWS32) 26 # if !defined(__GNUC__) && !defined(WINDOWS32)
29 -# ifndef alloca /* predefined by HP cc +Olibcalls */ 27 -# ifndef alloca /* predefined by HP cc +Olibcalls */
30 +# if !defined (alloca) && !defined (__FreeBSD__) /* predefined by HP cc +Olibcalls, part of stdlib.h on FreeBSD */ 28 +# if !defined(alloca) && !defined(__FreeBSD__) /* predefined by HP cc +Olibcalls, part of stdlib.h on FreeBSD */
31 char *alloca (); 29 char *alloca ();
32 # endif 30 # endif
33 # endif 31 # endif

mercurial