OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   04-Jun-2004 12:05:49
  Branch: HEAD                             Handle: 2004060411054700

  Modified files:
    openpkg-src/bash        bash.patch bash.spec

  Log:
    port to HP-UX 11i and similar less smart platforms ;-)

  Summary:
    Revision    Changes     Path
    1.4         +54 -0      openpkg-src/bash/bash.patch
    1.47        +1  -1      openpkg-src/bash/bash.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/bash/bash.patch
  ============================================================================
  $ cvs diff -u -r1.3 -r1.4 bash.patch
  --- openpkg-src/bash/bash.patch       6 Oct 2003 15:37:46 -0000       1.3
  +++ openpkg-src/bash/bash.patch       4 Jun 2004 10:05:47 -0000       1.4
  @@ -165,3 +165,57 @@
        printf ("Copyright (C) 2002 Free Software Foundation, Inc.\n");
    }
   
  +-----------------------------------------------------------------------------
  +
  +Port to HP-UX 11i and similar less smart platforms.
  +
  +Index: configure
  +--- configure.orig   2002-07-16 15:31:47.000000000 +0200
  ++++ configure        2004-06-04 11:51:17.000000000 +0200
  +@@ -1146,6 +1146,7 @@
  + *-beos*)    opt_bash_malloc=no ;;   # they say it's suitable
  + *-cygwin*)  opt_bash_malloc=no ;;   # Cygnus's CYGWIN environment
  + *-opennt*|*-interix*)       opt_bash_malloc=no ;;   # Interix, now owned by 
Microsoft
  ++*-hpux*)    opt_bash_malloc=no ;;   # HP HP-UX
  + esac
  + 
  + # memory scrambling on free()
  +Index: mksyntax.c
  +--- mksyntax.c.orig  2002-02-07 15:32:28.000000000 +0100
  ++++ mksyntax.c       2004-06-04 11:53:19.000000000 +0200
  +@@ -128,7 +128,11 @@
  +     
  +   switch (i)
  +     {
  ++#if defined(__STDC__)
  +     case '\a': xbuf[1] = 'a'; break;
  ++#else
  ++    case 7:    xbuf[1] = 'a'; break;
  ++#endif
  +     case '\v': xbuf[1] = 'v'; break;
  +     case '\b': xbuf[1] = 'b'; break;
  +     case '\f': xbuf[1] = 'f'; break;
  +Index: syntax.h
  +--- syntax.h.orig    2002-02-25 17:52:37.000000000 +0100
  ++++ syntax.h 2004-06-04 11:53:49.000000000 +0200
  +@@ -21,6 +21,8 @@
  + #ifndef _SYNTAX_H_
  + #define _SYNTAX_H_
  + 
  ++#include "config.h"
  ++
  + /* Defines for use by mksyntax.c */
  + 
  + #define slashify_in_quotes "\\`$\"\n"
  +Index: builtins/printf.def
  +--- builtins/printf.def.orig 2002-05-13 20:36:04.000000000 +0200
  ++++ builtins/printf.def      2004-06-04 11:57:44.000000000 +0200
  +@@ -114,7 +114,7 @@
  + static intmax_t getintmax __P((void));
  + static uintmax_t getuintmax __P((void));
  + 
  +-#if defined (HAVE_LONG_DOUBLE) && HAVE_DECL_STRTOLD
  ++#if defined (HAVE_LONG_DOUBLE) && HAVE_DECL_STRTOLD && !defined(HPUX)
  + typedef long double floatmax_t;
  + #  define FLOATMAX_CONV     "L"
  + #  define strtofltmax       strtold
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/bash/bash.spec
  ============================================================================
  $ cvs diff -u -r1.46 -r1.47 bash.spec
  --- openpkg-src/bash/bash.spec        27 Mar 2004 08:14:44 -0000      1.46
  +++ openpkg-src/bash/bash.spec        4 Jun 2004 10:05:47 -0000       1.47
  @@ -40,7 +40,7 @@
   Group:        Shell
   License:      GPL
   Version:      %{V_base_real}.%{V_plvl_raw}
  -Release:      20040327
  +Release:      20040604
   
   #   list of sources
   Source0:      ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}.tar.gz
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to