openpkg/make.patch

Wed, 07 Jan 2009 17:21:56 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 07 Jan 2009 17:21:56 +0100
changeset 28
beaae89a4a45
child 250
bda4f5eec616
permissions
-rw-r--r--

Correct missing shell do command argument and port to Solaris 11.

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

mercurial