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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  r...@openpkg.org
  Module: openpkg-src                      Date:   05-Mar-2009 15:50:30
  Branch: HEAD                             Handle: 2009030514502901

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

  Log:
    fix building under Linux

  Summary:
    Revision    Changes     Path
    1.21        +17 -0      openpkg-src/bash/bash.patch
    1.104       +1  -1      openpkg-src/bash/bash.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/bash/bash.patch
  ============================================================================
  $ cvs diff -u -r1.20 -r1.21 bash.patch
  --- openpkg-src/bash/bash.patch       23 Feb 2009 21:48:28 -0000      1.20
  +++ openpkg-src/bash/bash.patch       5 Mar 2009 14:50:29 -0000       1.21
  @@ -110,3 +110,20 @@
    #endif
          if (the_current_working_directory == 0)
        {
  +
  +-----------------------------------------------------------------------------
  +
  +Fix building under Linux.
  +
  +Index: externs.h
  +--- externs.h.orig   2009-01-19 00:29:29.000000000 +0100
  ++++ externs.h        2009-03-05 15:36:17.745625574 +0100
  +@@ -25,6 +25,7 @@
  + #  define _EXTERNS_H_
  + 
  + #include "stdc.h"
  ++#include <stdio.h>
  + 
  + /* Functions from expr.c. */
  + extern intmax_t evalexp __P((char *, int *));
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/bash/bash.spec
  ============================================================================
  $ cvs diff -u -r1.103 -r1.104 bash.spec
  --- openpkg-src/bash/bash.spec        23 Feb 2009 21:48:28 -0000      1.103
  +++ openpkg-src/bash/bash.spec        5 Mar 2009 14:50:30 -0000       1.104
  @@ -38,7 +38,7 @@
   Group:        Shell
   License:      GPL
   Version:      %{V_base_real}.%{V_plvl_raw}
  -Release:      20090223
  +Release:      20090305
   
   #   list of sources
   Source0:      ftp://ftp.cwru.edu/pub/bash/bash-%{V_base_real}.tar.gz
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to