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:   29-Jul-2003 22:39:34
  Branch: OPENPKG_1_3_SOLID                Handle: 2003072921393300

  Modified files:           (Branch: OPENPKG_1_3_SOLID)
    openpkg-src/flex        flex.patch flex.spec

  Log:
    MFS: flex beta fixes

  Summary:
    Revision    Changes     Path
    1.4.2.1.2.1 +130 -0     openpkg-src/flex/flex.patch
    1.51.2.2.2.2+1  -1      openpkg-src/flex/flex.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/flex/flex.patch
  ============================================================================
  $ cvs diff -u -r1.4.2.1 -r1.4.2.1.2.1 flex.patch
  --- openpkg-src/flex/flex.patch       24 Jul 2003 20:41:54 -0000      1.4.2.1
  +++ openpkg-src/flex/flex.patch       29 Jul 2003 20:39:33 -0000      1.4.2.1.2.1
  @@ -37,3 +37,133 @@
    
        return true;
    }
  +
  +Our package does not rely on GCC (and cannot for dependency
  +reasons), so we have to make sure that no C99 style comments
  +are used inside the code.
  +
  +--- main.c.orig      Tue Apr  1 03:51:38 2003
  ++++ main.c   Tue Jul 29 22:27:40 2003
  +@@ -1142,7 +1142,6 @@
  +                     break;
  + 
  +             case OPT_NO_UNISTD_H:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_UNISTD_H", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_UNISTD_H",0);
  +                     break;
  + 
  +@@ -1257,7 +1256,6 @@
  +                     break;
  + 
  +             case OPT_STACK:
  +-                    //buf_strdefine (&userdef_buf, "YY_STACK_USED", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_STACK_USED",0);
  +                     break;
  + 
  +@@ -1314,87 +1312,66 @@
  +             break;
  + 
  +             case OPT_NO_YY_PUSH_STATE:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_PUSH_STATE", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_PUSH_STATE",0);
  +                     break;
  +             case OPT_NO_YY_POP_STATE:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_POP_STATE", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_POP_STATE",0);
  +                     break;
  +             case OPT_NO_YY_TOP_STATE:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_TOP_STATE", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_TOP_STATE",0);
  +                     break;
  +             case OPT_NO_UNPUT:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_UNPUT", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_UNPUT",0);
  +                     break;
  +             case OPT_NO_YY_SCAN_BUFFER:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_SCAN_BUFFER", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_SCAN_BUFFER",0);
  +                     break;
  +             case OPT_NO_YY_SCAN_BYTES:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_SCAN_BYTES", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_SCAN_BYTES",0);
  +                     break;
  +             case OPT_NO_YY_SCAN_STRING:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_SCAN_STRING", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_SCAN_STRING",0);
  +                     break;
  +             case OPT_NO_YYGET_EXTRA:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_GET_EXTRA", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_GET_EXTRA",0);
  +                     break;
  +             case OPT_NO_YYSET_EXTRA:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_SET_EXTRA", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_SET_EXTRA",0);
  +                     break;
  +             case OPT_NO_YYGET_LENG:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_GET_LENG", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_GET_LENG",0);
  +                     break;
  +             case OPT_NO_YYGET_TEXT:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_GET_TEXT", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_GET_TEXT",0);
  +                     break;
  +             case OPT_NO_YYGET_LINENO:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_GET_LINENO", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_GET_LINENO",0);
  +                     break;
  +             case OPT_NO_YYSET_LINENO:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_SET_LINENO", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_SET_LINENO",0);
  +                     break;
  +             case OPT_NO_YYGET_IN:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_GET_IN", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_GET_IN",0);
  +                     break;
  +             case OPT_NO_YYSET_IN:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_SET_IN", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_SET_IN",0);
  +                     break;
  +             case OPT_NO_YYGET_OUT:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_GET_OUT", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_GET_OUT",0);
  +                     break;
  +             case OPT_NO_YYSET_OUT:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_SET_OUT", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_SET_OUT",0);
  +                     break;
  +             case OPT_NO_YYGET_LVAL:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_GET_LVAL", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_GET_LVAL",0);
  +                     break;
  +             case OPT_NO_YYSET_LVAL:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_SET_LVAL", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_SET_LVAL",0);
  +                     break;
  +             case OPT_NO_YYGET_LLOC:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_GET_LLOC", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_GET_LLOC",0);
  +                     break;
  +             case OPT_NO_YYSET_LLOC:
  +-                    //buf_strdefine (&userdef_buf, "YY_NO_SET_LLOC", "1");
  +             buf_m4_define( &m4defs_buf, "M4_YY_NO_SET_LLOC",0);
  +                     break;
  + 
  +@@ -1547,7 +1524,6 @@
  + 
  +     if (reject){
  +         out_m4_define( "M4_YY_USES_REJECT", NULL);
  +-            //outn ("\n#define YY_USES_REJECT");
  +     }
  + 
  +     if (!do_yywrap) {
  +--- tables.c.orig    Wed Nov 27 15:43:24 2002
  ++++ tables.c Tue Jul 29 22:28:18 2003
  +@@ -86,7 +86,7 @@
  +     th->th_magic = YYTBL_MAGIC;
  +     th->th_hsize = 14 + strlen (version_str) + 1 + strlen (name) + 1;
  +     th->th_hsize += yypad64 (th->th_hsize);
  +-    th->th_ssize = 0;       // Not known at this point.
  ++    th->th_ssize = 0;
  +     th->th_flags = 0;
  +     th->th_version = copy_string (version_str);
  +     th->th_name = copy_string (name);
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/flex/flex.spec
  ============================================================================
  $ cvs diff -u -r1.51.2.2.2.1 -r1.51.2.2.2.2 flex.spec
  --- openpkg-src/flex/flex.spec        29 Jul 2003 14:58:53 -0000      1.51.2.2.2.1
  +++ openpkg-src/flex/flex.spec        29 Jul 2003 20:39:33 -0000      1.51.2.2.2.2
  @@ -41,7 +41,7 @@
   Release:      1.3.0
   
   #   package options
  -%option       with_beta  yes
  +%option       with_beta  no
   
   #   list of sources
   Source0:      ftp://ftp.gnu.org/non-gnu/flex/flex-%{V_release}.tar.gz
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to