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

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   18-Jun-2003 10:39:33
  Branch: HEAD                             Handle: 2003061809393101

  Added files:
    openpkg-src/max         max.patch
  Modified files:
    openpkg-src/max         max.spec
    openpkg-web             news.txt

  Log:
    avoid using stderr as a constant

  Summary:
    Revision    Changes     Path
    1.1         +23 -0      openpkg-src/max/max.patch
    1.8         +4  -2      openpkg-src/max/max.spec
    1.4914      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/max/max.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 max.patch
  --- /dev/null 2003-06-18 10:39:32.000000000 +0200
  +++ max.patch 2003-06-18 10:39:32.000000000 +0200
  @@ -0,0 +1,23 @@
  +--- src/cmax/main.c.dist     2003-06-18 10:21:57.000000000 +0200
  ++++ src/cmax/main.c  2003-06-18 10:30:36.000000000 +0200
  +@@ -331,6 +331,9 @@
  +     int printflag = 0;
  +     FILE *fileptr;
  + 
  ++    extern FILE *errfile;
  ++    errfile = stderr;
  ++
  + #ifdef DEBUG
  +         fprintf(stderr, "Start of main program\n");
  + #endif
  +--- src/max/max_sgen.c.dist  2003-06-18 10:21:51.000000000 +0200
  ++++ src/max/max_sgen.c       2003-06-18 10:21:42.000000000 +0200
  +@@ -62,7 +62,7 @@
  + 
  +     fprintf(out,"extern mxi_ELEMENT mxi_string_conc( char*, int, long,...);\n");
  +     fprintf(out,"static mxi_ELEMENT mxv_errstr;\n");
  +-    fprintf(out,"FILE *errfile = stderr;\n");
  ++    fprintf(out,"FILE *errfile;\n");
  +     fprintf(out,"extern void mxi_prterrm(char*,int,char*,char*);\n");
  +     fprintf(out,"static char mxi_errmstr[] = \"0th parameter is of wrong 
sort\";\n");
  +     fprintf(out,"void comp_errm(char *filenm, int ln, char *fctnm, int parno){\n");
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/max/max.spec
  ============================================================================
  $ cvs diff -u -r1.7 -r1.8 max.spec
  --- openpkg-src/max/max.spec  3 Jan 2003 10:53:17 -0000       1.7
  +++ openpkg-src/max/max.spec  18 Jun 2003 08:39:32 -0000      1.8
  @@ -33,15 +33,16 @@
   Group:        Converter
   License:      TUM Open-Source
   Version:      7.4.2
  -Release:      20020716
  +Release:      20030618
   
   #   list of sources
   Source0:      http://www2.informatik.tu-muenchen.de/pub/sw/max-%{version}.tar.gz
  +Patch0:       max.patch
   
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20020206, flex, bison, X11
  +BuildPreReq:  OpenPKG, openpkg >= 20020206, flex, bison, gcc, X11
   PreReq:       OpenPKG, openpkg >= 20020206
   AutoReq:      no
   AutoReqProv:  no
  @@ -54,6 +55,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       CC="%{l_cc}" \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.4913 -r1.4914 news.txt
  --- openpkg-web/news.txt      17 Jun 2003 22:31:19 -0000      1.4913
  +++ openpkg-web/news.txt      18 Jun 2003 08:39:31 -0000      1.4914
  @@ -1,3 +1,4 @@
  +18-Jun-2003: Upgraded package: P<max-7.4.2-20030618>
   18-Jun-2003: Upgraded package: P<mailsync-4.5-20030618>
   18-Jun-2003: Upgraded package: P<imap-2002d-20030618>
   17-Jun-2003: Upgraded package: P<gated-3.6-20030617>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to