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:   30-Mar-2009 22:21:33
  Branch: HEAD                             Handle: 2009033021213300

  Modified files:
    openpkg-src/perl-term   perl-term.patch perl-term.spec

  Log:
    fix building against (fixed) GNU readline

  Summary:
    Revision    Changes     Path
    1.7         +14 -0      openpkg-src/perl-term/perl-term.patch
    1.97        +1  -1      openpkg-src/perl-term/perl-term.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-term/perl-term.patch
  ============================================================================
  $ cvs diff -u -r1.6 -r1.7 perl-term.patch
  --- openpkg-src/perl-term/perl-term.patch     21 Mar 2009 11:57:39 -0000      
1.6
  +++ openpkg-src/perl-term/perl-term.patch     30 Mar 2009 20:21:33 -0000      
1.7
  @@ -36,3 +36,17 @@
        $_tstrs_init = 1;
        return @s;
    }
  +Index: Term-ReadLine-Gnu-1.19/Gnu.xs
  +--- Term-ReadLine-Gnu-1.19/Gnu.xs.orig       2009-02-27 13:44:41 +0100
  ++++ Term-ReadLine-Gnu-1.19/Gnu.xs    2009-03-30 22:15:36 +0200
  +@@ -233,6 +233,10 @@
  + static void rl_echo_signal_char(int sig){}
  + #endif /* (RL_VERSION_MAJOR < 6) */
  + 
  ++#define xmalloc  readline_xmalloc
  ++#define xrealloc readline_xrealloc
  ++#define xfree    readline_xfree
  ++
  + /*
  +  * utility/dummy functions
  +  */                                                                         
       
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-term/perl-term.spec
  ============================================================================
  $ cvs diff -u -r1.96 -r1.97 perl-term.spec
  --- openpkg-src/perl-term/perl-term.spec      21 Mar 2009 11:57:39 -0000      
1.96
  +++ openpkg-src/perl-term/perl-term.spec      30 Mar 2009 20:21:33 -0000      
1.97
  @@ -52,7 +52,7 @@
   Group:        Perl
   License:      GPL/Artistic
   Version:      %{V_perl}
  -Release:      20090321
  +Release:      20090330
   
   #   list of sources
   Source0:      
http://www.cpan.org/modules/by-module/Term/TermReadKey-%{V_term_readkey}.tar.gz
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to