openpkg/make.patch

Thu, 08 Jan 2009 18:28:40 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 08 Jan 2009 18:28:40 +0100
changeset 45
d2954f86e9e6
child 250
bda4f5eec616
permissions
-rw-r--r--

Depend on sed, grep, and binutils, because libtool hard codes values.
This unfortunate dependency change is necessary because the main
program script calls helper tools from hard coded paths. Please
see /pfx/bin/libtool:77 for the example SED="/pfx/bin/sed".

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

mercurial