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:   24-Jan-2005 14:58:40
  Branch: HEAD                             Handle: 2005012413584000

  Added files:
    openpkg-src/boxes       boxes.patch
  Modified files:
    openpkg-src/boxes       boxes.spec

  Log:
    port to newer Flex versions

  Summary:
    Revision    Changes     Path
    1.1         +28 -0      openpkg-src/boxes/boxes.patch
    1.31        +3  -1      openpkg-src/boxes/boxes.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/boxes/boxes.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 boxes.patch
  --- /dev/null 2005-01-24 14:58:40 +0100
  +++ boxes.patch       2005-01-24 14:58:40 +0100
  @@ -0,0 +1,28 @@
  +Index: src/lexer.l
  +--- src/lexer.l.orig 2000-03-18 00:53:59 +0100
  ++++ src/lexer.l      2005-01-24 14:57:00 +0100
  +@@ -116,7 +116,6 @@
  +     "$Id: boxes.patch,v 1.1 2005/01/24 13:58:40 rse Exp $";
  + 
  + 
  +-int yylineno = 1;
  + static int yyerrcnt = 0;
  + 
  + static char sdel = '\"';
  +@@ -136,6 +135,7 @@
  + 
  + %option nounput
  + %option noyywrap
  ++%option yylineno
  + %option never-interactive
  + %option caseless
  + 
  +@@ -468,7 +468,7 @@
  +         exit (EXIT_FAILURE);
  +     }
  +     yy_delete_buffer (YY_CURRENT_BUFFER);
  +-    YY_CURRENT_BUFFER = yy_create_buffer (yyin, sinf.st_size+10);
  ++    YY_CURRENT_BUFFER_LVALUE = yy_create_buffer (yyin, sinf.st_size+10);
  + }
  + 
  + 
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/boxes/boxes.spec
  ============================================================================
  $ cvs diff -u -r1.30 -r1.31 boxes.spec
  --- openpkg-src/boxes/boxes.spec      1 Jan 2005 10:48:07 -0000       1.30
  +++ openpkg-src/boxes/boxes.spec      24 Jan 2005 13:58:40 -0000      1.31
  @@ -34,10 +34,11 @@
   Group:        Text
   License:      GPL
   Version:      1.0.1
  -Release:      20040207
  +Release:      20050124
   
   #   list of sources
   Source0:      
http://boxes.thomasjensen.com/download/boxes-%{version}.src.tar.gz
  +Patch0:       boxes.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -64,6 +65,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
       %{l_shtool} subst \
           -e 's;^\(YACC =\).*$;\1 %{l_prefix}/bin/bison;' \
           -e 's;^\(LEX =\).*$;\1 %{l_prefix}/bin/flex;' \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to